commit
This commit is contained in:
@@ -935,7 +935,7 @@ export default {
|
|||||||
},
|
},
|
||||||
drawerCheck(data) {
|
drawerCheck(data) {
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
if (getlist.length == 1) {
|
if (getlist.length === 1) {
|
||||||
this.roleRow = getlist[0];
|
this.roleRow = getlist[0];
|
||||||
} else {
|
} else {
|
||||||
this.$refs.tree.setCheckedKeys([data.id]);
|
this.$refs.tree.setCheckedKeys([data.id]);
|
||||||
|
|||||||
Reference in New Issue
Block a user