|
|
@@ -14,12 +14,11 @@ export function getImageUrl(path) {
|
|
|
}
|
|
|
// 从反显url上获取接口需要path
|
|
|
export function getImagePath(url) {
|
|
|
- console.log(url,'url')
|
|
|
if(!url)return;
|
|
|
let fileNames = url.split('/');
|
|
|
|
|
|
|
|
|
- return 'http://aiot.zoomwin.com.cn:51001' +
|
|
|
+ return window.location.origin +
|
|
|
'/api/main/file/getFile?objectName=' +
|
|
|
url +
|
|
|
'&fullfilename=' +
|