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"
>
-
+
-
+
+
+ {{ scope.row.siteAddress || '--'}}
+
+
@@ -92,8 +96,8 @@
-
-
+
+
@@ -310,11 +314,11 @@
-
+
@@ -500,7 +504,7 @@ export default {
// 表单校验
rules: {
devId: [
- { required: true, message: "设备ID不能为空", trigger: "blur" },
+ { required: true, message: "站点通道不能为空", trigger: "blur" },
{
pattern: /^[0-9]{20}$/,
message: "格式不正确; 纯数字 组合20个字符",