Merge pull request #9845 from dataease/pr@dev@fix_picture-url2

revert(仪表板): 去除日志
This commit is contained in:
王嘉豪 2024-05-24 15:14:09 +08:00 committed by GitHub
commit 69d137da8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -299,7 +299,6 @@ export function colorReverse(OldColorValue) {
}
export function imgUrlTrans(url) {
console.log('---'+url +'---'+ process.env.VUE_APP_BASE_API)
if (url && typeof url === 'string' && url.indexOf('static-resource') > -1 && url.indexOf('http') === -1) {
return process.env.VUE_APP_BASE_API + url.replace('/static-resource', 'static-resource')
} else {