Browse Source

tree组织可编辑

liuQiang 1 năm trước cách đây
mục cha
commit
474e10b667
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
     }