bug 标准预警
This commit is contained in:
@@ -38,12 +38,13 @@ export default {
|
||||
watch: {
|
||||
value: {
|
||||
handler () {
|
||||
if (this.value) {
|
||||
if (typeof this.value !== 'string' && this.value) {
|
||||
this.treeValue = JSON.parse(JSON.stringify(this.value))
|
||||
} else {
|
||||
this.treeValue = this.value
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
deep: true
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
||||
Reference in New Issue
Block a user