forked from github/dataease
commit
b9037a7ce3
@ -15,7 +15,7 @@ const state = reactive({
|
||||
onBeforeMount(() => {
|
||||
initCanvasDataPrepare(
|
||||
window.DataEaseBi.dvId,
|
||||
'dashboard',
|
||||
window.DataEaseBi.busiFlag,
|
||||
function ({
|
||||
canvasDataResult,
|
||||
canvasStyleResult,
|
||||
|
@ -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/')
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user