mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 19:51:20 -08:00
fix bug
This commit is contained in:
1 parent
7cdf9f69e6
commit
32e93bb875
9 files changed
+23
-15
No files matched your search
+2
-2
@@ -38,8 +38,8 @@ export default class Contextmenu {
|
||||
this.setPos(event);
|
||||
});
|
||||
|
||||
proxy(refs.$container, 'click', () => {
|
||||
if (refs.$contextmenu) {
|
||||
proxy(refs.$container, 'click', event => {
|
||||
if (refs.$contextmenu && !event.path.includes(refs.$contextmenu)) {
|
||||
this.hide();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user