mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 05:11:20 -08:00
update sw.js
This commit is contained in:
1 parent
c3f092dc2a
commit
ffb74b9717
2 files changed
+5
-2
No files matched your search
@@ -9,7 +9,10 @@ const f = 'function';
|
||||
const r = 'regexp';
|
||||
|
||||
function validElement(value, type, paths) {
|
||||
return errorHandle(type === s || value instanceof Element, `${paths.join('.')} require '${s}' or 'Element' type`);
|
||||
return errorHandle(
|
||||
type === s || type === n || value instanceof Element,
|
||||
`${paths.join('.')} require '${s}' or 'Element' type`,
|
||||
);
|
||||
}
|
||||
|
||||
export const ComponentOption = {
|
||||
|
||||
Reference in new issue
Block a user