forked from Gitlink/forgeplus-react
加入项目申请按钮
This commit is contained in:
parent
36a58c0fe3
commit
e591de00fd
|
|
@ -17,6 +17,7 @@ function AddProjectModal(props){
|
|||
|
||||
function onOk() {
|
||||
validateFields((error,values)=>{
|
||||
console.log(error)
|
||||
if(!error){
|
||||
const url = `/applied_projects.json`;
|
||||
Axios.post(url,{
|
||||
|
|
@ -40,6 +41,7 @@ function AddProjectModal(props){
|
|||
callback("请输入6位数的邀请码");
|
||||
}
|
||||
}
|
||||
callback();
|
||||
}
|
||||
|
||||
return(
|
||||
|
|
|
|||
Loading…
Reference in New Issue