update 预览接口替换

This commit is contained in:
赵霄
2023-11-27 15:00:05 +08:00
parent bd2b5b4740
commit 27f6bc8454
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ export function getFileAccessHttpUrl (avatar, subStr) {
} else {
if (avatar && avatar.length > 0 && avatar.indexOf('[') === -1) {
const token = Vue.ls.get(ACCESS_TOKEN)
return window._CONFIG.staticDomainURL + '/' + avatar + '?token=' + token
return window._CONFIG.domianURL + '/sys/common/view' + '/' + avatar + '?token=' + token
}
}
} catch (err) {