修改app上菜单栏尺寸过小的问题

This commit is contained in:
Gaoxs
2020-09-15 11:22:47 +08:00
parent 4b56792e63
commit 15fc59f369
2 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ export function isType(arg, type) {
}
export function isWeixin() {
if (navigator && navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1) {
if (navigator && navigator.userAgent && navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1) {
return true
}
return false
@ -608,7 +608,7 @@ export function routerPermissions(url, type) {
})
cookie.set('redirect', path)
})
// } else if (Vue.prototype.$deviceType == 'weixin') {
// } else if (Vue.prototype.$deviceType == 'weixin') {
// wechat().then(() => oAuth());
// if (!type) {
// push({