From 5a678cce1b157411f20fbddfaed49c7bc8d9fba7 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 07 十一月 2024 17:03:13 +0800
Subject: [PATCH] 修改为生产模式

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

diff --git a/common/dataSceneTypes.js b/common/dataSceneTypes.js
index b8ff99a..751fe01 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) {
@@ -29,7 +29,7 @@
       return item.value == value;
     });
   }
-  return r.label;
+  return r ? r.label : '鍏朵粬';
 }
 
 function toValue(label) {

--
Gitblit v1.9.3