From 41221beb0106484e07f127a7e8806665ee3d90e7 Mon Sep 17 00:00:00 2001 From: vapao Date: Thu, 20 May 2021 17:22:38 +0800 Subject: [PATCH] fix issue --- spug_web/src/pages/host/Form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_web/src/pages/host/Form.js b/spug_web/src/pages/host/Form.js index f3b0e6e..36b77fc 100644 --- a/spug_web/src/pages/host/Form.js +++ b/spug_web/src/pages/host/Form.js @@ -32,10 +32,10 @@ export default observer(function () { http.post('/api/host/', formData) .then(res => { if (res === 'auth fail') { + setLoading(false) if (formData.pkey) { message.error('独立密钥认证失败') } else { - setLoading(false) Modal.confirm({ icon: , title: '首次验证请输入密码',