zhoux 1 жил өмнө
parent
commit
9fef73580d

+ 4 - 1
src/view/core/system-setting/index.vue

@@ -463,7 +463,10 @@ export default {
                 str.key = String(str.key);
                 str.value = str.name[this.$store.state.app.local_lan]
               })
-              it.settingValue = JSON.parse(it.settingValue)
+              if(it.settingValue){
+                it.settingValue = JSON.parse(it.settingValue)
+              }
+
               // 当前值
               // let arraySettingValue = it.valueFormat.items.filter(iv => it.settingValue.some(s => s == iv.key))
               // 默认值