浏览代码

tree组织可编辑

liuQiang 1 年之前
父节点
当前提交
474e10b667
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/LeftList/LeftList.vue

+ 1 - 1
src/components/LeftList/LeftList.vue

@@ -163,7 +163,7 @@ const rightFn = async (node, data, e) => {
     const fRes = await getDir(node.parent.data.id);
     if (fRes.data.dirType == "2") {
       // 父级是组织 不可以编辑
-      emit("treeRClick", res.data, null, e, true);
+      emit("treeRClick", res.data, null, e);
     } else {
       emit("treeRClick", res.data, null, e);
     }