This commit is contained in:
yanran200730
2022-01-18 17:39:53 +08:00
parent 8d15875750
commit 9602ad6d24

View File

@@ -188,11 +188,11 @@ export default {
}) })
if (this.selected.type == 5) { if (this.selected.type == 5) {
fullName = fullName + this.selected.name fullName = fullName + (this.selected.name || this.areaName)
} }
this.areaName = this.selected.name this.areaName = this.selected.name || this.areaName
this.$emit('update:fullName', fullName) this.$emit('update:fullName', fullName)
this.$emit('update:name', this.selected.name) this.$emit('update:name', (this.selected.name || this.areaName))
this.closePopup() this.closePopup()
}, },
getChild(op) { getChild(op) {