瀏覽代碼

websocket

彭宇 2 年之前
父節點
當前提交
aceba4daf5
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/views/forest.vue

+ 2 - 4
src/views/forest.vue

@@ -536,19 +536,17 @@ export default {
   },
   data() {
     return {
-      /** ----------------------------------weosocket开始------------------------------------- */
-      weosocket:false,
-      /** ----------------------------------weosocket结束------------------------------------- */
       iconCurrentIndex0: '',
       iconCurrentIndex1: '',
       iconCurrentIndex2: '',
       listCurrentIndex: '',
       showChild: false,
+
       /** ----------------------------------weosocket开始------------------------------------- */
+      weosocket:false,
       websock: '',
       setIntervalWesocketPush: null,
       /** ----------------------------------weosocket结束------------------------------------- */
-
       /** ----------------------------------摄像头预览开始------------------------------------- */
       activePanel: 'key1',
       isLogin: false,