删除多余字符

This commit is contained in:
Harvey committed 2019-11-27 17:11:42 +08:00
1 parent 2cf7905d58
commit 14701f2141
3 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ export default class Whitelist {
constructor: { kindOf },
option: { whitelist },
} = art;
this.ua = window.navigator.userAgent;
this.ua = navigator.userAgent;
this.isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(this.ua);
this.state =
!this.isMobile ||