mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2025-12-12 18:22:51 +00:00
🆕 添加下之前的确认流程弹窗
This commit is contained in:
parent
9dd415c930
commit
fc8f9acb81
@ -36,7 +36,7 @@ const List: IListSchema = {
|
||||
},
|
||||
{
|
||||
key: 'round',
|
||||
name: '圆角',
|
||||
name: '图片圆角',
|
||||
type: 'Number',
|
||||
},
|
||||
{
|
||||
|
||||
@ -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}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user