公告优化更新

This commit is contained in:
GaoHao
2025-01-09 17:21:54 +08:00
parent f53512d2a3
commit 92e53ae8b2
4 changed files with 19 additions and 12 deletions

View File

@@ -440,7 +440,7 @@
return
}
httpsRequest.getT("app/announcement", {type: 0}).then(res => {
if (res.code == 0) {
if (res.code == 0&&res.data.length > 0) {
this.ruleShow = true
this.ruleList = res.data
$cache_config.set('ruleIndex',this.ruleList)