feat: 修改首页赋值逻辑

This commit is contained in:
chenli
2026-01-30 20:24:06 +08:00
parent cac9120196
commit 6d631af58a
2 changed files with 7 additions and 1 deletions

View File

@@ -93,13 +93,18 @@
watch: {
menuList: {
handler(val) {
console.log(this.current,'this.current---')
console.log(this.flowList,'this.flowList---')
if (this.current != 0) this.cardData = this.flowList
},
immediate: true
},
flowList: {
handler(val) {
if (this.current == 0) this.cardData = this.menuList
console.log(this.current,'this.current---')
console.log(this.menuList,'this.menuList---')
// if (this.current == 0) this.cardData = this.menuList
this.cardData = this.menuList
},
immediate: true
}