diff --git a/client/src/main.ts b/client/src/main.ts index 14d3ec9..86b3300 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -6,5 +6,23 @@ export function createApp() { const app = createSSRApp(App) const pinia = createPinia() app.use(pinia) + + // #ifdef MP-WEIXIN + // 全局分享配置,页面可通过定义 onShareAppMessage/onShareTimeline 覆盖 + app.mixin({ + onShareAppMessage() { + return { + title: '小菜记账 — 轻松记账,快乐生活', + path: '/pages/index/index' + } + }, + onShareTimeline() { + return { + title: '小菜记账 — 轻松记账,快乐生活' + } + } + }) + // #endif + return { app } } diff --git a/client/src/pages/group-manage/index.vue b/client/src/pages/group-manage/index.vue index 9df1df2..b534943 100644 --- a/client/src/pages/group-manage/index.vue +++ b/client/src/pages/group-manage/index.vue @@ -75,6 +75,11 @@ 复制 + + + 刷新 @@ -135,7 +140,7 @@