BUG 28306

This commit is contained in:
aixianling
2022-03-17 17:19:03 +08:00
parent 8a539ab7e8
commit 4c9455a85c

View File

@@ -68,7 +68,7 @@ export default {
dataRange() {
let rules = [10, 8, 6, 3, 0],
level = 0
if (this.all) return (level = 0)
if (this.all || this.disabled) return (level = 0)
rules.some((e, i) => {
let reg = new RegExp(`0{${e}}`, 'g')
if (reg.test(this.root)) {