Merge pull request #6407 from dataease/pr@dev-v2_dzz

Pr@dev v2 dzz
This commit is contained in:
dataeaseShu 2023-10-27 17:42:10 +08:00 committed by GitHub
commit b9037a7ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ const state = reactive({
onBeforeMount(() => {
initCanvasDataPrepare(
window.DataEaseBi.dvId,
'dashboard',
window.DataEaseBi.busiFlag,
function ({
canvasDataResult,
canvasStyleResult,

View File

@ -11,10 +11,10 @@ export function imgUrlTrans(url) {
return window.DataEaseBi
? `${window.DataEaseBi.baseUrl}${
rawUrl.startsWith('/api') ? rawUrl.slice(5) : rawUrl
}`.replace('//', '/')
}`.replace('com//', 'com/')
: rawUrl
} else {
return url
return url.replace('com//', 'com/')
}
}