This commit is contained in:
X_Rian 2024-06-07 19:01:31 +08:00
parent 528ed31e74
commit 440664eec2
2 changed files with 46 additions and 0 deletions

View File

@ -2365,6 +2365,29 @@ export default {
};
},
},
watch: {
"addForm1.regionId": {
handler(newVal) {
console.log(newVal);
if(newVal.length == 0){
this.reviewList = [];
}else {
this.getReviewPeopleList(this.addForm1.regionId);
}
},
deep:true,
},
"addForm2.regionId": {
handler(newVal) {
if(newVal.length == 0){
this.reviewList = [];
}else {
this.getReviewPeopleList(newVal);
}
},
deep:true,
}
},
mounted() {},
methods: {
backQuestion(obj) {

View File

@ -2347,6 +2347,29 @@ export default {
};
},
},
watch: {
"addForm1.regionId": {
handler(newVal) {
console.log(newVal);
if(newVal.length == 0){
this.reviewList = [];
}else {
this.getReviewPeopleList(newVal);
}
},
deep:true,
},
"addForm2.regionId": {
handler(newVal) {
if(newVal.length == 0){
this.reviewList = [];
}else {
this.getReviewPeopleList(newVal);
}
},
deep:true,
}
},
mounted() {},
methods: {
backQuestion(obj) {