🆕 添加下之前的确认流程弹窗

This commit is contained in:
xujiang 2020-10-10 12:18:31 +08:00
parent 9dd415c930
commit fc8f9acb81
2 changed files with 11 additions and 2 deletions

View File

@ -36,7 +36,7 @@ const List: IListSchema = {
},
{
key: 'round',
name: '圆角',
name: '图片圆角',
type: 'Number',
},
{

View File

@ -136,7 +136,16 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
const { tid } = props.location.query || '';
req.post('/visible/preview', { tid, tpl: pointData });
};
const handleSaveCode = () => {};
const handleSaveCode = () => {
Modal.confirm({
title: '确定要下载吗? 每人每天只能下载2次哦~',
okText: '确定',
cancelText: '取消',
onOk() {
// 未来的下载代码逻辑
},
});
};
const { setTheme } = useContext(dooringContext);
return (
<div className={styles.header}>