This commit is contained in:
caishi 2020-12-31 15:16:26 +08:00
parent 0dcaea3db4
commit 6eef4bd09e
1 changed files with 4 additions and 4 deletions

View File

@ -14,11 +14,11 @@ function SpecialModal({ visible , hideModal , sureModal , showNotification , use
}
function sure(){
if(!user_apply_signatures || (user_apply_signatures && user_apply_signatures.status !== "waiting")){
if(!id || (id && id.length === 0)){
showNotification("请先提交文件进行审核!");
return;
}
if(!user_apply_signatures || (user_apply_signatures && user_apply_signatures.status !== "waiting")){
const url = `/apply_signatures.json`;
axios.post(url,{
attachment_id:id,