From f2a0ea849099f49a3d2a9c7e5c44d033df22468f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 14 八月 2024 14:55:38 +0800
Subject: [PATCH] 设备管理模块

---
 common/dataSceneTypes.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/dataSceneTypes.js b/common/dataSceneTypes.js
index b8ff99a..c5835d1 100644
--- a/common/dataSceneTypes.js
+++ b/common/dataSceneTypes.js
@@ -17,7 +17,7 @@
 let remoteSceneTypes = [];
 
 function sceneTypeList() {
-  return remoteSceneTypes;
+  return remoteSceneTypes.length == 0 ? SceneTypes : remoteSceneTypes;
 }
 
 function toLabel(value) {

--
Gitblit v1.9.3