forked from Gitlink/forgeplus-react
This commit is contained in:
parent
0dcaea3db4
commit
6eef4bd09e
|
@ -14,11 +14,11 @@ function SpecialModal({ visible , hideModal , sureModal , showNotification , use
|
||||||
}
|
}
|
||||||
|
|
||||||
function sure(){
|
function sure(){
|
||||||
if(!id || (id && id.length === 0)){
|
|
||||||
showNotification("请先提交文件进行审核!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(!user_apply_signatures || (user_apply_signatures && user_apply_signatures.status !== "waiting")){
|
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`;
|
const url = `/apply_signatures.json`;
|
||||||
axios.post(url,{
|
axios.post(url,{
|
||||||
attachment_id:id,
|
attachment_id:id,
|
||||||
|
|
Loading…
Reference in New Issue