mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-07 12:28:13 +00:00
添加自动保存,优化结构,添加消息通知
This commit is contained in:
parent
bf8851589e
commit
c1856acfc9
@ -46,7 +46,7 @@ export default memo(function MutiText(props) {
|
|||||||
<Popconfirm
|
<Popconfirm
|
||||||
title="确定要删除吗?"
|
title="确定要删除吗?"
|
||||||
onConfirm={handleDel.bind(this, i)}
|
onConfirm={handleDel.bind(this, i)}
|
||||||
placement="bottom"
|
placement="leftTop "
|
||||||
okText="确定"
|
okText="确定"
|
||||||
cancelText="取消"
|
cancelText="取消"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
// import * as mesService from '../services/editorService'
|
// 将用户数据存贮到localstorage中
|
||||||
// import { router } from 'umi'
|
function overSave(name, data) {
|
||||||
|
localStorage.setItem(name, JSON.stringify(data))
|
||||||
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
namespace: 'editorModal',
|
namespace: 'editorModal',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user