全局搜索功能优化

This commit is contained in:
a0049873 2022-11-01 14:41:17 +08:00
parent 33e9cfe960
commit 3950122864
1 changed files with 5 additions and 1 deletions

View File

@ -1165,7 +1165,11 @@
res.data.data.map((val) => { res.data.data.map((val) => {
if (mapFlag && val.count != 0) { if (mapFlag && val.count != 0) {
mapFlag = false mapFlag = false
changeCards(val.type) if (Cardsname.value === val.type) {
getAppResources2()
} else {
changeCards(val.type)
}
} }
}) })
if (!mapFlag) { if (!mapFlag) {