调整微信小程序的报错。
This commit is contained in:
@@ -65,7 +65,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
userInfo() {
|
||||
return store.userInfo
|
||||
return store.userInfo || {}
|
||||
},
|
||||
certifyIdNext() {
|
||||
return Boolean(this.realName) && Boolean(this.idCard) && (this.needAgreements && this.agree)
|
||||
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
userInfo () {
|
||||
return store.userInfo
|
||||
return store.userInfo || {}
|
||||
}
|
||||
},
|
||||
onReady() {
|
||||
|
||||
@@ -45,7 +45,7 @@ const uniIdCo = uniCloud.importObject("uni-id-co")
|
||||
export default {
|
||||
computed: {
|
||||
userInfo() {
|
||||
return store.userInfo
|
||||
return store.userInfo || {}
|
||||
},
|
||||
realNameStatus () {
|
||||
if (!this.userInfo.realNameAuth) {
|
||||
|
||||
Reference in New Issue
Block a user