mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 09:36:16 -08:00
优化菜单
This commit is contained in:
1 parent
9e36a1ba44
commit
b3c2452758
3 files changed
+8
-7
No files matched your search
@@ -3006,10 +3006,10 @@
|
||||
|
||||
this.id = 0;
|
||||
this.art = art;
|
||||
this.art.on('ready', function () {
|
||||
art.on('ready', function () {
|
||||
_this.init();
|
||||
});
|
||||
this.art.on('blur', function () {
|
||||
art.on('blur', function () {
|
||||
_this.show = false;
|
||||
});
|
||||
}
|
||||
@@ -3068,8 +3068,8 @@
|
||||
}, {
|
||||
key: "add",
|
||||
value: function add(item, callback) {
|
||||
var $contextmenu = this.art.template.$contextmenu;
|
||||
this.id += 1;
|
||||
var $contextmenu = this.art.template.$contextmenu;
|
||||
return component(this.art, this, $contextmenu, item, callback, 'contextmenu');
|
||||
}
|
||||
}, {
|
||||
|
||||
Reference in new issue
Block a user