mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
修复全屏的回调问题
This commit is contained in:
1 parent
1616d67bce
commit
8d5ba73b0b
8 files changed
+65
-45
No files matched your search
+1
-2
@@ -116,10 +116,9 @@ export function sublings(target) {
|
||||
return Array.from(target.parentElement.children).filter(item => item !== target);
|
||||
}
|
||||
|
||||
export function debounce(func, wait, scope) {
|
||||
export function debounce(func, wait, context) {
|
||||
let timeout;
|
||||
return function fn() {
|
||||
const context = scope || this;
|
||||
const args = arguments;
|
||||
const later = function later() {
|
||||
timeout = null;
|
||||
|
||||
Reference in new issue
Block a user