优化右击菜单逻辑

This commit is contained in:
lyswhut
2020-06-27 13:43:27 +08:00
parent fbd2a57a35
commit c9d0aafbfa
6 changed files with 12 additions and 15 deletions
-3
View File
@@ -321,9 +321,6 @@ export const asyncSetArray = (from, to, num = 100) => new Promise(resolve => {
})
})
export const findParentNode = (target, tagName) => target.tagName == tagName ? target : target === document ? null : findParentNode(target.parentNode, tagName)
/**
* 获取缓存大小
*/