1
0
kopia lustrzana https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-10 11:59:28 +08:00

1. 新增小程序审核模式

This commit is contained in:
liuyiwuqing
2024-08-05 19:23:16 +08:00
rodzic a764c3dbfe
commit da60eb2daf
4 zmienionych plików z 32 dodań i 2 usunięć
+9 -1
Wyświetl plik
@@ -84,6 +84,11 @@ export default {
dataList: []
};
},
computed: {
haloConfigs() {
return this.$tm.vx.getters().getConfigs;
},
},
onLoad() {
this.fnSetPageTitle('内容搜索');
},
@@ -125,8 +130,11 @@ export default {
}
},
fnGetData() {
if (this.haloConfigs.basicConfig.auditModeEnabled) {
return;
}
// 设置状态为加载中
this.loading = 'loading';
this.loading = 'loading';
this.$httpApi.v2
.getPostListByKeyword(this.queryParams)
.then(res => {
@@ -152,6 +152,9 @@ export default {
};
},
computed: {
haloConfigs() {
return this.$tm.vx.getters().getConfigs;
},
haloPluginConfigs() {
return this.$tm.vx.getters().getConfigs.pluginConfig;
},
@@ -207,6 +210,9 @@ export default {
return this.linkGroupList.find(item => item.metadata.name === groupName)?.spec?.displayName || groupName || "未分组"
},
fnGetData() {
if (this.haloConfigs.basicConfig.auditModeEnabled) {
return;
}
if (!this.isLoadMore) {
this.loading = 'loading';
}