add themeMix

This commit is contained in:
zhw2590582 committed 2022-01-07 18:05:28 +08:00
1 parent 59400eb3bf
commit 1438ce5e82
16 files changed
+428 -410

No files matched your search

+3 -2
View File
@@ -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;