调整组件嵌入规则

This commit is contained in:
Harvey Zack committed 2018-11-22 16:09:56 +08:00
1 parent 88533c1023
commit 8619fa1b8b
22 files changed
+553 -392

No files matched your search

+4 -6
View File
@@ -1,11 +1,9 @@
export default function close(art) {
return {
disable: false,
name: 'close',
index: 50,
export default function close(menuOption) {
return art => ({
...menuOption,
html: art.i18n.get('Close'),
click: () => {
art.contextmenu.hide();
},
};
});
}