@@ -189,6 +189,9 @@
}else if(prodName.indexOf("方形贴纸") !== -1){
width = 662;
height = 662;
+ }else if(prodName.indexOf("撕拉") !== -1){
+ width = 768;
+ height = 768;
}
let _URL = window.URL || window.webkitURL;
let img = new Image();
@@ -330,6 +333,8 @@
this.prodType = '方形贴纸';
}else if(prodName.indexOf('二宫格') != -1){
this.prodType = '二宫格';
+ }else if(prodName.indexOf('撕拉') != -1){
+ this.prodType = '撕拉';
this.$nextTick(() =>{
this.$refs.canvasPreviewRef.init(cardItem, this.resourcesUrl + picUrl, this.prodType, side)