From 55ed80acbc14a7f63335832e4709c5463c7b43bf Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Tue, 14 Jul 2026 14:36:03 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A5174=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=B8=B8=E5=AE=A2=E8=BA=AB?= =?UTF-8?q?=E4=BB=BD=E7=9B=B4=E6=8E=A5=E7=82=B9=E5=87=BB=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E3=80=90=E5=AE=A2=E6=9C=8D=E3=80=91=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=B9=B6=E5=8F=91=E9=80=81=E6=96=87=E5=AD=97=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=EF=BC=8C=E4=B8=94=E6=9C=AA=E5=BC=B9=E5=87=BA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=BC=95=E5=AF=BC=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 5474dee..e2142d0 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -540,7 +540,7 @@ import { getProductSkuBySelected } from '@/api/store' import { userBindParent } from '@/api/user' -import { handleQrCode, isWeixin } from '@/utils' +import { handleLoginFailure, handleQrCode, isWeixin } from '@/utils' import { getHomeData } from '@/api/public' import { getDailyGoods, @@ -878,6 +878,15 @@ export default { }) }, goRoom() { + if (!this.isLogin) { + uni.showToast({ + title: '请先登录后联系客服', + icon: 'none', + duration: 2000 + }) + handleLoginFailure() + return + } console.log(this.storeInfo); const params = { goodsId: this.id,