perf(接口测试): 兼容已经存在的JSONSCHEMA大数据性能问题

This commit is contained in:
fit2-zhao 2022-04-06 19:07:46 +08:00 committed by fit2-zhao
parent 5e4da87359
commit 0e4216b010
1 changed files with 7 additions and 1 deletions

View File

@ -207,7 +207,13 @@ export default {
},
created() {
if (this.pickValue) {
this.hidden = this.root ? false : this.pickValue.hidden;
if (this.pickValue.hidden === undefined) {
this.hidden = this.root ? false : true;
} else {
this.hidden = this.root ? false : this.pickValue.hidden;
}
} else {
this.hidden = true;
}
},
methods: {