From 0a6107644e1ef61037a9800e0ff62ebbbbe0ac44 Mon Sep 17 00:00:00 2001 From: Gao xiaosong <704041637@qq.com> Date: Sat, 19 Dec 2020 13:56:31 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=E7=94=9F=E6=88=90=E7=9A=84H5=E5=9C=A8?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=8E=AF=E5=A2=83=E4=B8=8B=20=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E8=BF=9B=E5=85=A5,=E5=8D=A1=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index de5f53c..ebe34dc 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -103,6 +103,10 @@ import { getHomeData, getShare } from "@/api/public"; import cookie from "@/utils/store/cookie"; import { isWeixin, handleUrlParam } from "@/utils/index"; +import { + openShareAll, +} from '@/libs/wechat' + const HAS_COUPON_WINDOW = "has_coupon_window"; export default { @@ -309,7 +313,7 @@ export default { link: location.href, imgUrl: data.img, }; - this.openShareAll(configAppMessage); + openShareAll(configAppMessage); }); } },