【fix ESLint】src/views/system/modules
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<a-form>
|
||||
<a-form-item label='所拥有的权限'>
|
||||
<a-tree
|
||||
checkable
|
||||
:checkable="true"
|
||||
@check="onCheck"
|
||||
:checkedKeys="checkedKeys"
|
||||
:treeData="treeData"
|
||||
@@ -126,9 +126,9 @@ export default {
|
||||
this.checkedKeys = []
|
||||
},
|
||||
switchCheckStrictly (v) {
|
||||
if (v == 1) {
|
||||
if (v === 1) {
|
||||
this.checkStrictly = false
|
||||
} else if (v == 2) {
|
||||
} else if (v === 2) {
|
||||
this.checkStrictly = true
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user