Merge pull request #9762 from dataease/pr@dev-v2_st

fix: 修复eslint报错
This commit is contained in:
dataeaseShu 2024-05-22 10:36:43 +08:00 committed by GitHub
commit d77e0560f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -375,9 +375,9 @@ const jumpClick = param => {
if (publicLinkStatus.value) { if (publicLinkStatus.value) {
// ID // ID
if (jumpInfo.publicJumpId) { if (jumpInfo.publicJumpId) {
const url = `${embeddedBaseUrl}#/de-link/${jumpInfo.publicJumpId}?jumpInfoParam=${encodeURIComponent( const url = `${embeddedBaseUrl}#/de-link/${
Base64.encode(JSON.stringify(param)) jumpInfo.publicJumpId
)}` }?jumpInfoParam=${encodeURIComponent(Base64.encode(JSON.stringify(param)))}`
const currentUrl = window.location.href const currentUrl = window.location.href
localStorage.setItem('beforeJumpUrl', currentUrl) localStorage.setItem('beforeJumpUrl', currentUrl)
windowsJump(url, jumpInfo.jumpType) windowsJump(url, jumpInfo.jumpType)
@ -385,9 +385,9 @@ const jumpClick = param => {
ElMessage.warning(t('visualization.public_link_tips')) ElMessage.warning(t('visualization.public_link_tips'))
} }
} else { } else {
const url = `${embeddedBaseUrl}#/preview?dvId=${jumpInfo.targetDvId}&jumpInfoParam=${encodeURIComponent( const url = `${embeddedBaseUrl}#/preview?dvId=${
Base64.encode(JSON.stringify(param)) jumpInfo.targetDvId
)}` }&jumpInfoParam=${encodeURIComponent(Base64.encode(JSON.stringify(param)))}`
windowsJump(url, jumpInfo.jumpType) windowsJump(url, jumpInfo.jumpType)
} }
} else { } else {
@ -732,7 +732,10 @@ const titleIconStyle = computed(() => {
:view-icon="view.type" :view-icon="view.type"
></chart-empty-info> ></chart-empty-info>
<drill-path :drill-filters="state.drillFilters" @onDrillJump="drillJump" /> <drill-path :drill-filters="state.drillFilters" @onDrillJump="drillJump" />
<XpackComponent ref="openHandler" jsname="L2NvbXBvbmVudC9lbWJlZGRlZC1pZnJhbWUvT3BlbkhhbmRsZXI=" /> <XpackComponent
ref="openHandler"
jsname="L2NvbXBvbmVudC9lbWJlZGRlZC1pZnJhbWUvT3BlbkhhbmRsZXI="
/>
</div> </div>
</template> </template>