mirror of https://github.com/openspug/spug
F 修复系统设置 - 报警服务保存错误。
parent
ce9adb1129
commit
6a108aa86a
|
@ -18,7 +18,7 @@ class AlarmSetting extends React.Component {
|
||||||
this.setting = JSON.parse(lds.get(store.settings, 'mail_service.value', "{}"));
|
this.setting = JSON.parse(lds.get(store.settings, 'mail_service.value', "{}"));
|
||||||
this.state = {
|
this.state = {
|
||||||
mode: this.setting['server'] === undefined ? '1' : '2',
|
mode: this.setting['server'] === undefined ? '1' : '2',
|
||||||
spug_key: lds.get(store.settings, 'spug_key.value')
|
spug_key: lds.get(store.settings, 'spug_key.value', "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue