修复首页报错问题
This commit is contained in:
parent
b4542559ae
commit
aa7f7f3392
|
|
@ -335,7 +335,8 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
let u = navigator.userAgent;
|
let u = navigator?navigator.userAgent:'';
|
||||||
|
|
||||||
if (u.toLowerCase().indexOf('micromessenger') !== -1) {
|
if (u.toLowerCase().indexOf('micromessenger') !== -1) {
|
||||||
this.isWeixin = true
|
this.isWeixin = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue