This commit is contained in:
yanran200730
2022-01-20 14:07:28 +08:00
parent 0b3a66e8b0
commit 859bb04b47

View File

@@ -164,10 +164,6 @@ export default {
if (!this.areaName && this.value === this.areaId) {
this.areaName = self.name
}
if (!this.value) {
this.areaName = self.name
}
if (self.id) {
this.list.unshift(self)
}
@@ -233,7 +229,6 @@ export default {
},
handleInit() {
this.index = this.value || this.areaId
console.log(this.value, this.areaId)
if (this.all && !this.areaId && !this.currentArea.id) {
this.getProvinces()