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