From 0b36afdbe3107176cf180a6fe126f3c2bd010ccb Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Tue, 1 Aug 2023 18:23:18 +0800 Subject: [PATCH] =?UTF-8?q?CN-1087=20fix:=20=E5=A2=9E=E5=8A=A0=E6=8B=93?= =?UTF-8?q?=E5=B1=95=E6=B7=B1=E5=BA=A6=E5=92=8C=E6=95=B0=E9=87=8F=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/entityExplorer/EntityGraph2.vue | 7 +++---- src/views/entityExplorer/entityGraph/GraphEntityList.vue | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/entityExplorer/EntityGraph2.vue b/src/views/entityExplorer/EntityGraph2.vue index 2effdcfe..923783b5 100644 --- a/src/views/entityExplorer/EntityGraph2.vue +++ b/src/views/entityExplorer/EntityGraph2.vue @@ -665,7 +665,7 @@ export default { _this.rightBox.loading = false } } else { - // TODO 提示大于5层 + this.$message.warning(this.$t('tip.maxExpandDepth')) } _this.addItems(nodes, edges) _this.cleanTempNodesAndTempEdges() @@ -783,7 +783,6 @@ export default { return info.length }, onCloseBlock () { - // todo 关闭右侧graph面板 this.rightBox.mode = '' this.rightBox.show = false }, @@ -966,7 +965,7 @@ export default { this.rightBox.loading = false } } else { - // TODO 提示超过50 + this.$message.warning(this.$t('tip.maxExpandCount')) } }, async expandDetailList (nodeId, expandType) { @@ -1021,7 +1020,7 @@ export default { this.rightBox.loading = false } } else { - // TODO 提示超过50 + this.$message.warning(this.$t('tip.maxExpandCount')) } } }, diff --git a/src/views/entityExplorer/entityGraph/GraphEntityList.vue b/src/views/entityExplorer/entityGraph/GraphEntityList.vue index 639bf8a2..53d6dff5 100644 --- a/src/views/entityExplorer/entityGraph/GraphEntityList.vue +++ b/src/views/entityExplorer/entityGraph/GraphEntityList.vue @@ -27,7 +27,7 @@
- {{ $t('entity.graph.expandedEntityCount') }}:   + {{ $t('entity.graph.expandedEntityCount') }}:  {{$_.get(node, 'sourceNode.myData.relatedEntity.' + $_.get(node, 'myData.entityType') + '.list', []).length}}