From 0d45d9e949c4f6d63f309916cbd2ab97ac700566 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期二, 01 十月 2024 20:43:36 +0800 Subject: [PATCH] 1 --- src/views/mdc/realtime-status/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/mdc/realtime-status/index.vue b/src/views/mdc/realtime-status/index.vue index 4110859..642affb 100644 --- a/src/views/mdc/realtime-status/index.vue +++ b/src/views/mdc/realtime-status/index.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-04-09 22:11:21 - * @LastEditors: gaosp - * @LastEditTime: 2024-09-07 14:16:10 + * @LastEditors: lzhe lzhe@example.com + * @LastEditTime: 2024-09-09 11:23:54 * @FilePath: /mdc/Users/mache/Documents/demo/cps-web/src/views/mdc/realtime-status/index.vue 瀹炴椂鐪嬫澘 --> @@ -127,7 +127,7 @@ } }, mounted() { - this.deviceStatus = [...this.$route.query.currentTag]; + this.deviceStatus = this.$route.query.currentTag?[...this.$route.query.currentTag]:[]; this.getstationlabelList(); //鑾峰彇鏍囩瑙嗗浘涓嬬殑list this.setIntervalTime(); //鍗佺澧炲姞鏃堕棿 this.getprocess(); //鑾峰彇棰滆壊==銆嬭幏鍙栭《閮╰itle==銆嬭缃嚑琛屽嚑鍒�==銆媤s -- Gitblit v1.9.3