Explorar o código

tree组织可编辑

liuQiang hai 1 ano
pai
achega
474e10b667
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }