1
0
réplica de https://github.com/ialley-workshop-open/uni-halo.git sincronizado 2026-06-12 13:19:31 +08:00

feat 链接管理、投票管理控制

Este cometimento está contido em:
yhliu
2026-01-18 23:46:02 +08:00
cometido por 小莫唐尼
ascendente 17f5b4b917
cometimento a767397e23
3 ficheiros modificados com 19 adições e 5 eliminações
+8 -2
Ver ficheiro
@@ -165,6 +165,12 @@
calcAuditModeEnabled() {
return this.haloConfigs.auditConfig.auditModeEnabled
},
calcVotePluginEnabled() {
return !!this.haloConfigs?.pluginConfig?.votePlugin?.enabled;
},
calcLinksPluginEnabled() {
return !!this.haloConfigs?.pluginConfig?.linksPlugin?.enabled;
},
},
watch: {
haloConfigs: {
@@ -228,7 +234,7 @@
path: '/pagesA/votes/votes',
isAdmin: false,
type: 'page',
show: !this.calcAuditModeEnabled
show: !this.calcAuditModeEnabled && !!this.calcVotePluginEnabled,
}, {
key: 'disclaimers',
title: '友情链接',
@@ -238,7 +244,7 @@
path: '/pagesA/friend-links/friend-links',
isAdmin: false,
type: 'page',
show: true
show: !!this.calcLinksPluginEnabled,
},
{
key: 'disclaimers',