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(() => { onBeforeMount(() => {
initCanvasDataPrepare( initCanvasDataPrepare(
window.DataEaseBi.dvId, window.DataEaseBi.dvId,
'dashboard', window.DataEaseBi.busiFlag,
function ({ function ({
canvasDataResult, canvasDataResult,
canvasStyleResult, canvasStyleResult,

View File

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