From 0db12c54ade75400a6d542af9ee9221f8aa66a8b Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 22 May 2024 10:36:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Deslint=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/views/index.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 272a0d417d..be4deeaab8 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -375,9 +375,9 @@ const jumpClick = param => { if (publicLinkStatus.value) { // 判断是否有公共链接ID if (jumpInfo.publicJumpId) { - const url = `${embeddedBaseUrl}#/de-link/${jumpInfo.publicJumpId}?jumpInfoParam=${encodeURIComponent( - Base64.encode(JSON.stringify(param)) - )}` + const url = `${embeddedBaseUrl}#/de-link/${ + jumpInfo.publicJumpId + }?jumpInfoParam=${encodeURIComponent(Base64.encode(JSON.stringify(param)))}` const currentUrl = window.location.href localStorage.setItem('beforeJumpUrl', currentUrl) windowsJump(url, jumpInfo.jumpType) @@ -385,9 +385,9 @@ const jumpClick = param => { ElMessage.warning(t('visualization.public_link_tips')) } } else { - const url = `${embeddedBaseUrl}#/preview?dvId=${jumpInfo.targetDvId}&jumpInfoParam=${encodeURIComponent( - Base64.encode(JSON.stringify(param)) - )}` + const url = `${embeddedBaseUrl}#/preview?dvId=${ + jumpInfo.targetDvId + }&jumpInfoParam=${encodeURIComponent(Base64.encode(JSON.stringify(param)))}` windowsJump(url, jumpInfo.jumpType) } } else { @@ -732,7 +732,10 @@ const titleIconStyle = computed(() => { :view-icon="view.type" > - +