lz-h5-edit icon indicating copy to clipboard operation
lz-h5-edit copied to clipboard

删除元素操作,并没有真正把 state 中的相关元素数据删除

Open soeasyjx opened this issue 5 years ago • 3 comments

删除元素操作,并没有真正把 state 中的相关元素数据删除 只是删除了对应的activeEditKey

soeasyjx avatar Dec 26 '19 02:12 soeasyjx

这确实是个问题 还有重置编辑器数据也同样会有这个问题 我的想法是在保存数据时,再对多余的数据进行剔除

lzuntalented avatar Dec 29 '19 10:12 lzuntalented

嗯,是个思路,麻烦修改一下

| | 江鑫 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2019年12月29日 18:17,可我不爱聪明 写道:

这确实是个问题 还有重置编辑器数据也同样会有这个问题 我的想法是在保存数据时,再对多余的数据进行剔除

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

soeasyjx avatar Dec 29 '19 10:12 soeasyjx

为什么不在对应元素数据的时候把其他的数据都同样移除,而不仅仅移除activityEdityKey

| | 江鑫 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2019年12月29日 18:19,soeasyjx 写道: 嗯,是个思路,麻烦修改一下

| | 江鑫 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2019年12月29日 18:17,可我不爱聪明 写道:

这确实是个问题 还有重置编辑器数据也同样会有这个问题 我的想法是在保存数据时,再对多余的数据进行剔除

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

soeasyjx avatar Dec 29 '19 23:12 soeasyjx