提取共用方法

This commit is contained in:
Harvey committed 2019-11-14 10:11:03 +08:00
1 parent 48ade99047
commit 7a84c262da
45 files changed
+242 -257

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
export default function close(menuOption) {
export default function close(option) {
return art => ({
...menuOption,
...option,
html: art.i18n.get('Close'),
click: contextmenu => {
contextmenu.show = false;