This commit is contained in:
weipengfei 2023-09-09 10:29:02 +08:00
parent 173a8edd07
commit 1766061f1f

View File

@ -295,7 +295,7 @@ export default {
},
async onLoad () {
await this.$onLaunched;
this.is_captain = JSON.parse(uni.getStorageSync("USER_INFO"))?.is_captain
this.is_captain = JSON.parse(uni.getStorageSync("USER_INFO")||'{}')?.is_captain
this.options.data = bj;
//#ifdef APP-PLUS
let that = this;