perf: 🐛 优化QQ登录和微信登录Bug

This commit is contained in:
Yer
2023-08-14 14:40:08 +08:00
parent 7c2a50eec0
commit 9ab1cec1bb
5 changed files with 30 additions and 27 deletions

View File

@@ -98,7 +98,7 @@ export default {
},
onLoad() { },
onShow() {
this.userInfo = this.$options.filters.isLogin();
this.userInfo = this.$options.filters.isLogin() || {};
if (this.$options.filters.isLogin("auth")) {
this.getUserOrderNum();
} else {