From 0746b7bbe6aa3d9f02e03654a2cd4fde2081c335 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 21 四月 2025 09:29:40 +0800 Subject: [PATCH] bug修复 --- 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