Commit f04322f2 authored by zhengke's avatar zhengke

修改复制

parent 06db973e
...@@ -376,9 +376,9 @@ ...@@ -376,9 +376,9 @@
} }
} }
); );
this.sendQuanHandler();
this.goodTitle=item.MaterialInfo; this.goodTitle=item.MaterialInfo;
this.images=item.ImgList; this.images=item.ImgList;
this.sendQuanHandler();
this.showShare = true; this.showShare = true;
} else { } else {
this.showAuth = true; this.showAuth = true;
...@@ -405,9 +405,12 @@ ...@@ -405,9 +405,12 @@
//分享复制 //分享复制
sendQuanHandler() { sendQuanHandler() {
this.copyHandler(); this.copyHandler();
setTimeout(() => { //判断有图片再调用复制图片
this.savePicHandler(); if(this.images.length>0){
}, 1000); setTimeout(() => {
this.savePicHandler();
}, 1000);
}
}, },
//复制文字 //复制文字
copyHandler() { copyHandler() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment