diff --git a/src/components/BasicShop/BasicComponents/List/schema.ts b/src/components/BasicShop/BasicComponents/List/schema.ts index 8f15d7b..8b91cf7 100644 --- a/src/components/BasicShop/BasicComponents/List/schema.ts +++ b/src/components/BasicShop/BasicComponents/List/schema.ts @@ -36,7 +36,7 @@ const List: IListSchema = { }, { key: 'round', - name: '圆角', + name: '图片圆角', type: 'Number', }, { diff --git a/src/pages/editor/components/Header/index.tsx b/src/pages/editor/components/Header/index.tsx index a2a8a32..c2df07f 100644 --- a/src/pages/editor/components/Header/index.tsx +++ b/src/pages/editor/components/Header/index.tsx @@ -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 (