From 407c889dcce411e7ede586ac5a3a811dcc9912ac Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 11 Apr 2023 14:33:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=88=A0=E9=99=A4internal=20?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/project/meta2d/js/topoUtil.js | 4 ++++ nezha-fronted/src/components/page/integration/integration.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/project/meta2d/js/topoUtil.js b/nezha-fronted/src/components/common/project/meta2d/js/topoUtil.js index 918762edb..cf7c06035 100644 --- a/nezha-fronted/src/components/common/project/meta2d/js/topoUtil.js +++ b/nezha-fronted/src/components/common/project/meta2d/js/topoUtil.js @@ -151,6 +151,10 @@ export default { if (!pen.moduleId) { pen.moduleId = '' } + if (pen.data && pen.data.moduleId) { + pen.moduleId = pen.data.moduleId + delete pen.data.moduleId + } if (pen.icon) { pen.iconFamily = 'nz-icon' } diff --git a/nezha-fronted/src/components/page/integration/integration.vue b/nezha-fronted/src/components/page/integration/integration.vue index 3f4058844..2651cc4fb 100644 --- a/nezha-fronted/src/components/page/integration/integration.vue +++ b/nezha-fronted/src/components/page/integration/integration.vue @@ -7,7 +7,7 @@

{{talon.name}}

{{talon.remark}}

-
{{$t('integration.internal')}}
+