diff --git a/src/glcc/apply/index.jsx b/src/glcc/apply/index.jsx
index 956ef7144..f09e39418 100644
--- a/src/glcc/apply/index.jsx
+++ b/src/glcc/apply/index.jsx
@@ -71,24 +71,18 @@ function Apply(props) {
e.preventDefault();
validateFieldsAndScroll((err, values) => {
if (!err) {
- Modal.confirm({
- title: "确认提交",
- content: "确定提交报名信息,提交后报名信息将无法修改。",
- onOk: ()=>{
- const params ={
- ...values,
- projectLogoId: values.logo.file.response.data.id,
- userId: current_user.user_id,
- userName: current_user.username
- }
- applyGlcc(params).then(response=>{
- if(response && response.message === "success"){
- showNotification("报名成功");
- setReload(Math.random());
- }
- })}
- })
- }
+ const params ={
+ ...values,
+ projectLogoId: values.logo.file.response.data.id,
+ userId: current_user.user_id,
+ userName: current_user.username
+ }
+ applyGlcc(params).then(response=>{
+ if(response && response.message === "success"){
+ showNotification("报名成功");
+ setReload(Math.random());
+ }
+ })}
});
};
@@ -129,6 +123,9 @@ function Apply(props) {