diff --git a/project/shandong10086/apps/shandong/monitor/AppMonitorManage/AppMonitorManage.vue b/project/shandong10086/apps/shandong/monitor/AppMonitorManage/AppMonitorManage.vue index 580fd4b5..f15006ac 100644 --- a/project/shandong10086/apps/shandong/monitor/AppMonitorManage/AppMonitorManage.vue +++ b/project/shandong10086/apps/shandong/monitor/AppMonitorManage/AppMonitorManage.vue @@ -3,23 +3,18 @@
-
+
- - +
@@ -116,14 +111,16 @@ }).then(res => { if (res?.data) { this.videoUrl = res.data - // let data = JSON.parse(res.data) - // if (refresh) { - // monitor.url = data.url - // } else if (this.splitScreen == 1) { - // this.monitors = [{...monitor, ...data}] - // } else { - // this.monitors.push({...monitor, ...data}) - // } + let data = { + url: res.data + } + if (refresh) { + monitor.url = data.url + } else if (this.splitScreen == 1) { + this.monitors = [{...monitor, ...data}] + } else { + this.monitors.push({...monitor, ...data}) + } } }) },