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

feat: 新增首页轮播支持配置

This commit is contained in:
小莫唐尼
2025-06-15 18:38:52 +08:00
parent 8963ba1921
commit 2fd83a7814
17 changed files with 325 additions and 101 deletions
+6 -3
View File
@@ -166,7 +166,10 @@ export default {
}
return 'https://image.thum.io/get/width/1000/crop/800/' + val;
};
}
},
calcAuditModeEnabled() {
return this.haloConfigs.auditConfig.auditModeEnabled
},
},
onLoad() {
this.fnSetPageTitle('友情链接');
@@ -210,8 +213,8 @@ export default {
return this.linkGroupList.find(item => item.metadata.name === groupName)?.spec?.displayName || groupName || "未分组"
},
fnGetData() {
if (this.haloConfigs.basicConfig.auditModeEnabled) {
return;
if (this.calcAuditModeEnabled) {
return;
}
if (!this.isLoadMore) {
this.loading = 'loading';