mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
提取共用方法
This commit is contained in:
1 parent
48ade99047
commit
7a84c262da
45 files changed
+242
-257
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user