mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 05:11:20 -08:00
优化组件id
This commit is contained in:
1 parent
39ea75450c
commit
8ee7488bb1
7 files changed
+17
-9
No files matched your search
@@ -71,7 +71,8 @@ export default class Contextmenu {
|
||||
|
||||
add(item, callback) {
|
||||
const { $contextmenu } = this.art.template;
|
||||
component(this.art, this, $contextmenu, item, callback, 'contextmenu');
|
||||
this.id += 1;
|
||||
return component(this.art, this, $contextmenu, item, callback, 'contextmenu');
|
||||
}
|
||||
|
||||
setPos(event) {
|
||||
|
||||
Reference in new issue
Block a user