This commit is contained in:
zmj 2024-06-18 13:34:38 +08:00
parent d32eb5676f
commit 75f3d75a25
1 changed files with 6 additions and 2 deletions

View File

@ -191,7 +191,6 @@
onLoad, onLoad,
onShow, onShow,
onShareAppMessage, onShareAppMessage,
onShareTimeline
} from "@dcloudio/uni-app" } from "@dcloudio/uni-app"
import { import {
reactive, reactive,
@ -224,7 +223,10 @@
import useUserStore from "@/store/user"; import useUserStore from "@/store/user";
const userStore = useUserStore(); const userStore = useUserStore();
const STORE_INFO = reactive({}) const STORE_INFO = reactive({
id: 5,
store_name: "测试"
})
const getStoreInfoFn = () => { const getStoreInfoFn = () => {
if (uni.getStorageSync('STORE_INFO').length) { if (uni.getStorageSync('STORE_INFO').length) {
@ -249,6 +251,8 @@
.real_name || userStore.userInfo.nickname) .real_name || userStore.userInfo.nickname)
} }
let shareInfo = { let shareInfo = {
title: STORE_INFO.store_name, title: STORE_INFO.store_name,
path: '/pages/index/index' + shareStr, path: '/pages/index/index' + shareStr,