forked from Gitlink/forgeplus-react
update
This commit is contained in:
parent
5eb542cfbf
commit
3158953571
|
@ -3,7 +3,7 @@ import { Modal , Form , Input , Button } from 'antd';
|
|||
import './EAccount.scss';
|
||||
import axios from 'axios';
|
||||
|
||||
function EducoderAccount({form , visible , current_user}){
|
||||
function EducoderAccount({form , visible , current_user , onCancel}){
|
||||
const { getFieldDecorator, validateFields , setFieldsValue } = form;
|
||||
|
||||
useEffect(()=>{
|
||||
|
@ -44,6 +44,7 @@ function EducoderAccount({form , visible , current_user}){
|
|||
visible={visible}
|
||||
title="提示"
|
||||
width="500px"
|
||||
onCancel={onCancel}
|
||||
footer={
|
||||
<Button type="primary" onClick={onSure}>确定</Button>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue