fix issues

pull/330/head
vapao 2021-04-01 12:00:03 +08:00
parent 26a38665b8
commit a67798956d
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import store from './store';
export default observer(function () {
const [form] = Form.useForm();
const setting = store.settings.mail_service;
const setting = store.settings.mail_service || {};
const [mode, setMode] = useState(setting.server === undefined ? '1' : '2');
const [loading, setLoading] = useState(false);