From b3198fdfdbc2baef486242f0645376d9da4b0a58 Mon Sep 17 00:00:00 2001 From: JianWeie Date: Mon, 30 May 2022 13:04:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=88=86=E4=BA=AB=E5=88=B0=E6=9C=8B=E5=8F=8B=E5=9C=88?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E6=88=B7=E6=89=93=E5=BC=80=E2=80=9C=E5=8D=95?= =?UTF-8?q?=E9=A1=B5=E6=A8=A1=E5=BC=8F"=E4=B8=8B=EF=BC=8C=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=9B=A0=E6=97=A0=E6=B3=95=E4=BA=A4=E4=BA=92=E8=80=8C?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E7=9A=84=E5=BC=82=E5=B8=B8=E6=8F=90=E9=86=92?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coreshop-login-modal/coreshop-login-modal.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue index 83aa6fbc..32d7daa5 100644 --- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue +++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue @@ -407,7 +407,11 @@ }, fail: function (res) { //console.log(res); - _this.$refs.uToast.show({ message: '用户授权失败wx.login,请重试', type: 'error', }) + var scene = this.$store.state.scene; + //判断是否为 朋友圈内打开“单页模式",单页模式下,数据交互无法执行。所以不进行提醒 + if (scene != 1154) { + _this.$refs.uToast.show({ message: '用户授权失败wx.login,请重试', type: 'error', }) + } } }) },