From 3cff773bb1fa8fe63693818cec68f1e9513dea78 Mon Sep 17 00:00:00 2001 From: jianweie code Date: Wed, 5 Jul 2023 22:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=A2=9E=E5=8A=A0watch=E6=96=B9=E6=B3=95=EF=BC=8C?= =?UTF-8?q?=E7=9B=91=E6=B5=8B=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81=EF=BC=8C?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=87=BA=E7=8E=B0=E9=A6=96=E6=AC=A1=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8E=E6=9C=AA=E6=9B=B4=E6=96=B0=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=EF=BC=8C=E5=A2=9E=E5=8A=A0=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CoreShop/pages/index/default/default.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue b/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue index 6bfb5d6d..1960a1ad 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/index/default/default.vue @@ -181,6 +181,13 @@ this.initData(); uni.stopPullDownRefresh(); }, + watch: { + hasLogin() { + if (this.hasLogin == true && this.shareUrl.indexOf('-0-') != -1) { + this.getShareUrl(); + } + } + }, //分享 onShareAppMessage(res) { return {