From 75f3d75a25140e8ce50998914125b1a12bf3f860 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Tue, 18 Jun 2024 13:34:38 +0800 Subject: [PATCH] add --- pages/index/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 25df707..206b779 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -191,7 +191,6 @@ onLoad, onShow, onShareAppMessage, - onShareTimeline } from "@dcloudio/uni-app" import { reactive, @@ -224,7 +223,10 @@ import useUserStore from "@/store/user"; const userStore = useUserStore(); - const STORE_INFO = reactive({}) + const STORE_INFO = reactive({ + id: 5, + store_name: "测试" + }) const getStoreInfoFn = () => { if (uni.getStorageSync('STORE_INFO').length) { @@ -249,6 +251,8 @@ .real_name || userStore.userInfo.nickname) } + + let shareInfo = { title: STORE_INFO.store_name, path: '/pages/index/index' + shareStr,