diff --git a/src/utils/hciot.js b/src/utils/hciot.js index 2c1a7d42..f9ec4290 100644 --- a/src/utils/hciot.js +++ b/src/utils/hciot.js @@ -164,8 +164,7 @@ export function getIotFileUrl(importUrl) { if (importUrl.indexOf('http') === 0 || importUrl.indexOf('https') === 0) { return importUrl; } else if (importUrl.indexOf('/profile/upload/') === 0 || importUrl.indexOf('/profile/avatar/') === 0) { - console.log('baseUrl:', baseHref + baseURL + importUrl); - return baseHref + baseURL + importUrl; + return baseHref + importUrl; } else if (importUrl.indexOf('data:image/') === 0 || importUrl.indexOf('/static/') === 0) { return importUrl; } diff --git a/src/views/iot/video/site/index.vue b/src/views/iot/video/site/index.vue index 3a19aa3f..43d3d962 100644 --- a/src/views/iot/video/site/index.vue +++ b/src/views/iot/video/site/index.vue @@ -72,7 +72,7 @@ @selection-change="handleSelectionChange" > - + - + + + - - + +