zhongxiaoyu 3 years ago
parent
commit
3bfc673d34
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/usergrouptree/index.vue

+ 2 - 2
src/components/usergrouptree/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: zk
  * @Date: 2022-02-09 15:47:09
- * @LastEditTime: 2022-03-10 17:13:14
+ * @LastEditTime: 2022-03-10 17:25:18
  * @LastEditors: your name
  * @Description: 用户组树
  * @FilePath: \Foshan4A4.0\src\components\usergrouptree\index.vue
@@ -104,7 +104,7 @@ export default {
             if (node.GroupId === key) {
               node.disabled = true
               node.children?.length && setDisabled(node.children)
-              return node
+              return true
             } else if (node.children?.length) {
               setDisabled(node.children, key)
             }