Commit ce445456 authored by tjy's avatar tjy

导入模块框增加字段

parent 1c6dbf29
This diff is collapsed.
......@@ -6,6 +6,7 @@ import { PublicApi } from '@/services/api';
interface Uploader {
visibleModal: boolean;
fileText: string;
onCancel: Function;
}
......@@ -23,8 +24,8 @@ const UploadModal: React.FC<Uploader> = props => {
<li>
点击下载 EXCEL文件模板 <a onClick={downLoadTemplate}>下载</a>
</li>
<li>按照模板整理货品资料</li>
<li>点击导入按钮,导入整理好的货品资料</li>
<li>按照模板整理{props.fileText}</li>
<li>点击导入按钮,导入整理好的{props.fileText}</li>
</ul>
</>
);
......
......@@ -388,6 +388,7 @@ const memberImport: React.FC<{}> = () => {
</Card>
<UploadModal
visibleModal={visibleModal}
fileText="会员资料"
onCancel={() => setVisibleModal(false)}
/>
</PageHeaderWrapper>
......
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