浏览代码

workspace 修正查询文件夹列表中过滤项目文件夹的逻辑

master
unknown 4 年前
父节点
当前提交
4af3653161
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/views/main_web/workspace/workspace.vue

+ 1
- 1
src/views/main_web/workspace/workspace.vue 查看文件

@@ -3743,7 +3743,7 @@ export default {
const userId = this.userId;
const projId = this.projId;
const workList = await services.fetchWorkFlow(projId, userId);
const folderList = workList.slice(1);
const folderList = workList.filter(folder => folder.nodeId !== folder.templateId);

this.listUserFolders = folderList;
this.folderMap = folderList.reduce((h, f) => (h[f.id] = f, h), {});


正在加载...
取消
保存