flat: 修改企业性质

This commit is contained in:
Apcallover
2024-05-06 18:01:43 +08:00
parent fe0d0af325
commit 5739f53062
3 changed files with 34 additions and 14 deletions

View File

@@ -43,12 +43,17 @@
}
},
created() {
if (Array.isArray(this.columns)) {
this.columns.map((item) => {
item.map((child) => {
this.valueEnum[child[this.valueName]] = child[this.labelName]
},
watch: {
columns(val) {
if (Array.isArray(val)) {
val.map((item) => {
item.map((child) => {
this.valueEnum[child[this.valueName]] = child[this.labelName]
})
})
})
}
}
},
methods: {