diff --git a/root/detail/job.vue b/root/detail/job.vue index 14da172..4fe85dc 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -571,14 +571,16 @@ export default { uni.showLoading({ title:'生成中' }) - that.getWXCanvas("", "setShare").then((res) => { - wx.hideLoading(); - resolve({ - title: " ", - imageUrl: res.tempFilePath, - path, + setTimeout(()=>{ + that.getWXCanvas("", "setShare").then((res) => { + wx.hideLoading(); + resolve({ + title: " ", + imageUrl: res.tempFilePath, + path, + }); }); - }); + },100) }), }; },