From d205764a3ebe073b8302e8faf9345b74ae3350df Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 11 十一月 2024 17:12:35 +0800
Subject: [PATCH] 优化初始化进入界面时,默认监测因子选项为PM颗粒物等常用因子

---
 src/constant/scene-types.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/constant/scene-types.js b/src/constant/scene-types.js
index 30c5590..109c726 100644
--- a/src/constant/scene-types.js
+++ b/src/constant/scene-types.js
@@ -20,7 +20,7 @@
 }
 
 function sceneIcon(type) {
-  switch (type) {
+  switch (type + '') {
     case '1':
       return scene_1;
     case '4':

--
Gitblit v1.9.3