Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-05-30 15:46:53 +08:00
4 changed files with 15 additions and 8 deletions

View File

@@ -100,7 +100,13 @@
})
uni.$on('change', () => {
this.isMore = false
this.current = 1
this.getInfo(query.id)
this.$nextTick(() => {
this.getList()
})
})
uni.$on('update', () => {

View File

@@ -33,7 +33,7 @@ export default {
},
onShow() {
// this.$refs?.TabPage?.show()
this.$refs?.TabPage?.show()
this.$nextTick(() => {
this.injectJWeixin(['getLocation', 'sendChatMessage', 'shareAppMessage', 'shareWechatMessage'])
})

View File

@@ -95,11 +95,6 @@
this.getAlbumList()
this.getMsgList()
this.getUserInfo()
uni.$on('update', () => {
this.getCountPhotoNo()
this.getAlbumList()
})
},
destroyed () {
@@ -113,6 +108,13 @@
})
},
update () {
this.getCountPhotoNo()
this.getAlbumList()
this.getMsgList()
this.getUserInfo()
},
getUserInfo () {
this.$http.post('/api/user/info').then(res => {
if (res.code === 0) {

View File

@@ -47,9 +47,8 @@
},
show() {
if (this.currIndex == 0) {
this.currIndex = -1
this.$nextTick(() => {
this.currIndex = 0
this.$refs.Home.update()
})
}
}