From 6eef4bd09eb6d11fcceb76aec934e2cc9cc11d3d Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 31 Dec 2020 15:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/SpecialModal.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/forge/Main/SpecialModal.jsx b/src/forge/Main/SpecialModal.jsx index 26394804..1454be67 100644 --- a/src/forge/Main/SpecialModal.jsx +++ b/src/forge/Main/SpecialModal.jsx @@ -14,11 +14,11 @@ function SpecialModal({ visible , hideModal , sureModal , showNotification , use } function sure(){ - if(!id || (id && id.length === 0)){ - showNotification("请先提交文件进行审核!"); - return; - } if(!user_apply_signatures || (user_apply_signatures && user_apply_signatures.status !== "waiting")){ + if(!id || (id && id.length === 0)){ + showNotification("请先提交文件进行审核!"); + return; + } const url = `/apply_signatures.json`; axios.post(url,{ attachment_id:id,