浏览代码

档案tab key

caozhaorui 5 月之前
父节点
当前提交
e34bd30c5f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/web/archive/index-worker.vue

+ 1 - 1
src/views/web/archive/index-worker.vue

@@ -262,7 +262,7 @@ const themeConfigCpt = computed(() => {
       })
       res.chart.edges.push({source: String(v.relateIndexId), target: String(v.id), labelText: v.description || '关系描述'})
     } else {
-      res.tabs.set(v.indexTableName, {
+      res.tabs.set(v.id, {
         __type: v.type,
         indexName: v.indexName,
         indexTableName: v.indexTableName,