Task:多店铺选择
This commit is contained in:
@@ -38,7 +38,6 @@ export default {
|
||||
})
|
||||
},
|
||||
open(records) {
|
||||
console.log(records);
|
||||
if(!records) return;
|
||||
this.show = true;
|
||||
this.list = records && [...records] || []
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user