26881
This commit is contained in:
@@ -164,10 +164,6 @@ export default {
|
|||||||
if (!this.areaName && this.value === this.areaId) {
|
if (!this.areaName && this.value === this.areaId) {
|
||||||
this.areaName = self.name
|
this.areaName = self.name
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.value) {
|
|
||||||
this.areaName = self.name
|
|
||||||
}
|
|
||||||
if (self.id) {
|
if (self.id) {
|
||||||
this.list.unshift(self)
|
this.list.unshift(self)
|
||||||
}
|
}
|
||||||
@@ -233,7 +229,6 @@ export default {
|
|||||||
},
|
},
|
||||||
handleInit() {
|
handleInit() {
|
||||||
this.index = this.value || this.areaId
|
this.index = this.value || this.areaId
|
||||||
console.log(this.value, this.areaId)
|
|
||||||
|
|
||||||
if (this.all && !this.areaId && !this.currentArea.id) {
|
if (this.all && !this.areaId && !this.currentArea.id) {
|
||||||
this.getProvinces()
|
this.getProvinces()
|
||||||
|
|||||||
Reference in New Issue
Block a user