From 8cf240f76be61464e132dd1adc25fe9a75a18542 Mon Sep 17 00:00:00 2001 From: wangxiaogang <1433729587@qq.com> Date: Mon, 8 Jun 2026 10:09:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E5=88=86=E4=BA=AB=E5=8A=9F=E8=83=BD=20=E2=80=94=20?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E9=BB=98=E8=AE=A4+=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=BA=A7=E5=AE=9A=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/main.ts | 18 +++++++++++ client/src/pages/group-manage/index.vue | 40 ++++++++++++++++++++++++- client/src/pages/stats/index.vue | 16 +++++++++- 3 files changed, 72 insertions(+), 2 deletions(-) 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 @@