BUG 27518

This commit is contained in:
aixianling
2022-02-28 12:04:56 +08:00
parent f216078eea
commit f3f4374159
2 changed files with 4 additions and 5 deletions

View File

@@ -56,7 +56,8 @@ export default {
type: Boolean,
default: false
},
isForm: Boolean
isForm: Boolean,
valueLevel: 5
},
computed: {
...mapState(['user']),
@@ -192,7 +193,7 @@ export default {
},
getChild(op) {
if (op.id != this.index) {
if (op.type < 5 && (/0{3}$/g.test(this.index) || !this.index)) {
if (op.type <= this.valueLevel && op.type < 5 && (/0{3}$/g.test(this.index) || !this.index)) {
this.fullArea.push(op)
this.getChildAreas(op.id)
}