调整组件嵌入规则

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,12 +1,10 @@
export default function info(art) {
return {
disable: false,
name: 'info',
index: 30,
export default function info(menuOption) {
return art => ({
...menuOption,
html: art.i18n.get('Video info'),
click: () => {
art.info.show();
art.contextmenu.hide();
},
};
});
}