From baec27d0a698d5fef0766b73b349216fde92dd1e Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Fri, 5 Jun 2026 11:57:46 +0800 Subject: [PATCH] Revert "no message" This reverts commit 46f5cad7741ffdb99395e13b73ca07311f563299. --- components/myMain.vue | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/components/myMain.vue b/components/myMain.vue index a456c9e..6874a21 100644 --- a/components/myMain.vue +++ b/components/myMain.vue @@ -3,13 +3,13 @@ :style="{ 'background-image': showBg ? 'url(' + cdnBaseImg + 'share_bg.svg)' : '' }" :class="showBg ? 'g_pt_32' : ''"> - +
- +
长按图片转发给微信好友 @@ -410,26 +410,26 @@ }).then(() => { this.setShareJobImg(ctx, canvas, mycenter, offsetTop) .then(function(canvas1) { - uni.canvasToTempFilePath({ - canvas: canvas1, - success(res) { - resolve(res); - }, - fail(res) { - uni.hideLoading(); - uni.showToast({ - title: res.errMsg, - icon: "error", - }); - }, - }); - }) - .catch((err) => { - uni.hideLoading(); - uni.showToast({ - title: "生成失败,请重试", - }); + uni.canvasToTempFilePath({ + canvas: canvas1, + success(res) { + resolve(res); + }, + fail(res) { + uni.hideLoading(); + uni.showToast({ + title: res.errMsg, + icon: "error", + }); + }, + }); + }) + .catch((err) => { + uni.hideLoading(); + uni.showToast({ + title: "生成失败,请重试", }); + }); }); }); });