|
|
|
|
@ -120,7 +120,8 @@
|
|
|
|
|
headReplace: require('@/static/logo-xietaitai.png'),
|
|
|
|
|
showform: false,
|
|
|
|
|
maskClose: false,
|
|
|
|
|
imgurl: '',
|
|
|
|
|
imgurl: '',
|
|
|
|
|
myToken:'',
|
|
|
|
|
form: {
|
|
|
|
|
nickname: '',
|
|
|
|
|
mobile: ''
|
|
|
|
|
@ -161,7 +162,8 @@
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
|
|
|
|
const MenuButton = uni.getMenuButtonBoundingClientRect()
|
|
|
|
|
this.navBarTop = MenuButton.top //左侧文字与右侧胶囊对齐
|
|
|
|
|
this.navBarTop = MenuButton.top //左侧文字与右侧胶囊对齐
|
|
|
|
|
this.myToken = uni.getStorageSync('xtt_lifeData').vuex_token
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
this.getInitUser()
|
|
|
|
|
@ -174,7 +176,7 @@
|
|
|
|
|
filePath: e.detail.avatarUrl,
|
|
|
|
|
name: 'file',
|
|
|
|
|
header: {
|
|
|
|
|
'Authorization': `Bearer ${this.vuex_token}`
|
|
|
|
|
'Authorization': `Bearer ${this.myToken}`
|
|
|
|
|
},
|
|
|
|
|
success: (res) => {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|