提交 787ded1b authored 作者: 王绍森's avatar 王绍森

修改申请页面

上级 61f1341e
import React from 'react'; import React from 'react';
import { Form } from 'antd'; import { Form } from 'antd';
import router from 'umi/router';
import Entrance from '../Entrance'; import Entrance from '../Entrance';
import Shell from '@/baseComponent/Shell'; import Shell from '@/baseComponent/Shell';
import SubmitButton from '@/webPublic/one_stop_public/AffairButton/SumbitButton'; import SubmitButton from '@/webPublic/one_stop_public/AffairButton/SumbitButton';
...@@ -8,7 +9,7 @@ import withGoBack from '@/highOrderComponent/withGoBack'; ...@@ -8,7 +9,7 @@ import withGoBack from '@/highOrderComponent/withGoBack';
let ApplyPage = ({ id, form }) => { let ApplyPage = ({ id, form }) => {
function submitCb(res) { function submitCb(res) {
ModalInfo(`提交${res ? '成功' : '失败'}!`); ModalInfo(`提交${res ? '成功' : '失败'}!`, {onOk: () => router.goBack()});
} }
return ( return (
<Shell styleShell={{ marginTop: 0 }}> <Shell styleShell={{ marginTop: 0 }}>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论