diff --git a/src/AppConfig.js b/src/AppConfig.js index a369d843..ca941733 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -58,7 +58,7 @@ export function initAxiosInterceptors(props) { // TODO 避免重复的请求 https://github.com/axios/axios#cancellation var proxy = "http://localhost:3000"; - proxy = "https://testforgeplus.trustie.net"; + proxy = "http://39.105.176.215:49999"; const requestMap = {}; window.setfalseInRequestMap = function (keyName) { diff --git a/src/forge/Main/SpecialModal.jsx b/src/forge/Main/SpecialModal.jsx index afd021f2..26394804 100644 --- a/src/forge/Main/SpecialModal.jsx +++ b/src/forge/Main/SpecialModal.jsx @@ -14,6 +14,10 @@ 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")){ const url = `/apply_signatures.json`; axios.post(url,{