1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 21:29:31 +08:00

fix: 修复投票详情页面分享BUG

This commit is contained in:
小莫唐尼
2025-08-22 11:15:56 +08:00
parent 31ade9908a
commit 476a1ec48e
+16
View File
@@ -252,6 +252,22 @@
this.fnGetData(); this.fnGetData();
this.fnGetVoteUserList(); this.fnGetVoteUserList();
}, },
onShareAppMessage() {
return {
path: '/pagesA/vote-detail/vote-detail?name=' + this.name,
title: this.vote?.spec?.title ?? "来投个票吧",
imageUrl: ""
}
},
onShareTimeline() {
return {
title: this.vote?.spec?.title ?? "来投个票吧",
query: {
name: this.name
},
imageUrl: ""
}
},
methods: { methods: {
fnGetData() { fnGetData() {
// 设置状态为加载中 // 设置状态为加载中