This commit is contained in:
caishi 2021-09-08 17:47:40 +08:00
parent 5eb542cfbf
commit 3158953571
1 changed files with 2 additions and 1 deletions

View File

@ -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>
}