提交 add1fa65 authored 作者: chscls@163.com's avatar chscls@163.com

弹出空间

上级 884960a1
import React, { Children } from "react";
import {Button, Form, Input, InputNumber, Modal, Select} from "antd";
export default class FormModal extends React.Component {
state = {visible: true};
handleCancel = e => this.setState({visible: false});
render() {
const {visible} = this.state;
const contentProps = {onCancel: this.handleCancel};
return (
<Modal
destroyOnClose
title="设置拷贝后的后缀名"
visible={visible}
footer={null}
onCancel={this.handleCancel}
>
{this.props.children}
</Modal>
);
}
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论