Commit 3c025c35 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix

parent 1f33b8cd
import React, { useState, useEffect } from 'react';
import { Form, Input, Button, Select, Card, Tooltip, message, InputNumber } from 'antd'
import { Form, Input, Button, Select, Card, Tooltip, message, InputNumber, Popconfirm } from 'antd'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import { history } from 'umi';
import {
......@@ -273,9 +273,11 @@ const AddGoods = () => {
<Button type="primary" htmlType="submit">
保存
</Button>
<Button className={styles.ml20} onClick={()=>history.goBack()}>
取消
</Button>
<Popconfirm title="确定要取消吗?" okText="是" cancelText="否" onConfirm={()=>history.goBack()}>
<Button className={styles.ml20}>
取消
</Button>
</Popconfirm>
</Form.Item>}
</Form>
</Card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment