Task:多店铺选择

This commit is contained in:
linxi
2025-03-25 11:48:30 +08:00
parent 85b1a8f0f1
commit a74f94a061
2 changed files with 17 additions and 1 deletions
+17
View File
@@ -595,9 +595,26 @@ export default {
}
this.fetchInnDetail()
},
watch: {
activeIndex: {
handler(val) {
console.log(val);
if (val === 1) {
this.fetchInnInfoList()
}
},
deep: true,
immediate: true
}
},
methods: {
goHome(e) {
this.id = e.id
if(this.activeIndex !==1) {
this.activeInde = 1
} else {
this.fetchInnInfoList()
}
this.fetchInnDetail()
},
changeHome() {