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) {