Commit 51b2236c authored by 黄奎's avatar 黄奎

1

parent 9643da31
...@@ -288,8 +288,8 @@ ...@@ -288,8 +288,8 @@
}, },
//树形菜单选择 //树形菜单选择
treeCheck(node, list) { treeCheck(node, list) {
if (list.checkedKeys.length == 2) {
//单选实现 //单选实现
if (list.checkedKeys.length > 0) {
this.$refs.treeMenu.setCheckedKeys([node.Id]); this.$refs.treeMenu.setCheckedKeys([node.Id]);
this.checkedMenuObj = node; this.checkedMenuObj = node;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment