Compare commits

...

2 Commits

Author SHA1 Message Date
PQZ
257cf7df40 1 2024-09-24 22:37:42 +08:00
PQZ
a49d953ccc 1 2024-09-24 22:36:59 +08:00
3 changed files with 5 additions and 11 deletions

View File

@ -70,8 +70,7 @@
tabBarVue, tabBarVue,
VNavigationBar VNavigationBar
}, },
onShow(data) {
onLoad(data) {
this.getServer() this.getServer()
}, },
data() { data() {
@ -110,11 +109,6 @@
}) })
this.customInfo = res.data this.customInfo = res.data
uni.setStorageSync('customerInfo', JSON.stringify(this.customInfo)) uni.setStorageSync('customerInfo', JSON.stringify(this.customInfo))
// JSON.parse(JSON.stringify(files))
// const a = uni.getStorageSync('customerInfo')
// console.log(JSON.parse(a),115)
} }
} }
} }

View File

@ -80,7 +80,7 @@
levelEquityList: [] levelEquityList: []
}; };
}, },
onLoad(data) { onShow(data) {
// //
this.customInfo = JSON.parse(uni.getStorageSync('customerInfo')) this.customInfo = JSON.parse(uni.getStorageSync('customerInfo'))
this.getMemberList() this.getMemberList()

View File

@ -37,7 +37,7 @@
customInfo:{} customInfo:{}
}; };
}, },
onLoad(data) { onShow(data) {
// //
this.customInfo = JSON.parse(uni.getStorageSync('customerInfo')) this.customInfo = JSON.parse(uni.getStorageSync('customerInfo'))
}, },