diff --git a/spug_web/src/pages/host/Form.js b/spug_web/src/pages/host/Form.js index 4f9fd0d..91a75d5 100644 --- a/spug_web/src/pages/host/Form.js +++ b/spug_web/src/pages/host/Form.js @@ -41,6 +41,7 @@ class ComForm extends React.Component { .then(res => { if (res === 'auth fail') { if (formData.pkey) { + this.setState({loading: false}); message.error('独立密钥认证失败') } else { this.setState({loading: false});