mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
add themeMix
This commit is contained in:
1 parent
59400eb3bf
commit
1438ce5e82
16 files changed
+428
-410
No files matched your search
@@ -7,12 +7,13 @@ export default class Whitelist {
|
||||
|
||||
get state() {
|
||||
const {
|
||||
option,
|
||||
constructor: { kindOf },
|
||||
option: { whitelist },
|
||||
} = this.art;
|
||||
|
||||
return (
|
||||
!isMobile ||
|
||||
whitelist.some((item) => {
|
||||
option.whitelist.some((item) => {
|
||||
switch (kindOf(item)) {
|
||||
case 'string':
|
||||
return item === '*' || userAgent.indexOf(item) > -1;
|
||||
|
||||
Reference in new issue
Block a user