BUG 30883
This commit is contained in:
@@ -76,8 +76,11 @@ export default {
|
||||
root(v) {
|
||||
v && (this.getFullArea(v))
|
||||
},
|
||||
value(v) {
|
||||
v && !this.areaName && this.getAreaName(this.value)
|
||||
value: {
|
||||
immediate: true,
|
||||
handler(v) {
|
||||
v && !this.areaName && this.getAreaName(this.value)
|
||||
}
|
||||
},
|
||||
fullArea(v) {
|
||||
v && this.value && !this.multiple && this.$emit('update:fullName', v?.map(e => e.name)?.join("") || "")
|
||||
@@ -88,7 +91,6 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.getRootArea()
|
||||
this.value && this.getAreaName(this.value)
|
||||
},
|
||||
methods: {
|
||||
getRootArea() {
|
||||
|
||||
Reference in New Issue
Block a user