Update home.tsx
This commit is contained in:
parent
5bf6496b21
commit
6be225bcde
|
@ -650,8 +650,8 @@ const isWorkWechat = () => {
|
|||
|
||||
// 判断ua和微信浏览器的标识头是否匹配
|
||||
if (
|
||||
ua.match(/micromessenger/i) == "micromessenger" &&
|
||||
ua.match(/wxwork/i) == "wxwork"
|
||||
/micromessenger/i.test(ua) &&
|
||||
/wxwork/i.test(ua)
|
||||
) {
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue