Compare commits

..

No commits in common. "257cf7df40a06608e8e81cbce72a9b4056a52537" and "67f1aa8715dc9e7099e54d6fa17215b9acf4d3d9" have entirely different histories.

3 changed files with 11 additions and 5 deletions

View File

@ -70,7 +70,8 @@
tabBarVue, tabBarVue,
VNavigationBar VNavigationBar
}, },
onShow(data) {
onLoad(data) {
this.getServer() this.getServer()
}, },
data() { data() {
@ -108,8 +109,13 @@
params:{} params:{}
}) })
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)
}
} }
} }
</script> </script>

View File

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