Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -100,7 +100,13 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
uni.$on('change', () => {
|
uni.$on('change', () => {
|
||||||
|
this.isMore = false
|
||||||
|
this.current = 1
|
||||||
this.getInfo(query.id)
|
this.getInfo(query.id)
|
||||||
|
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
uni.$on('update', () => {
|
uni.$on('update', () => {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
// this.$refs?.TabPage?.show()
|
this.$refs?.TabPage?.show()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.injectJWeixin(['getLocation', 'sendChatMessage', 'shareAppMessage', 'shareWechatMessage'])
|
this.injectJWeixin(['getLocation', 'sendChatMessage', 'shareAppMessage', 'shareWechatMessage'])
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -95,11 +95,6 @@
|
|||||||
this.getAlbumList()
|
this.getAlbumList()
|
||||||
this.getMsgList()
|
this.getMsgList()
|
||||||
this.getUserInfo()
|
this.getUserInfo()
|
||||||
|
|
||||||
uni.$on('update', () => {
|
|
||||||
this.getCountPhotoNo()
|
|
||||||
this.getAlbumList()
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
|
||||||
destroyed () {
|
destroyed () {
|
||||||
@@ -113,6 +108,13 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
update () {
|
||||||
|
this.getCountPhotoNo()
|
||||||
|
this.getAlbumList()
|
||||||
|
this.getMsgList()
|
||||||
|
this.getUserInfo()
|
||||||
|
},
|
||||||
|
|
||||||
getUserInfo () {
|
getUserInfo () {
|
||||||
this.$http.post('/api/user/info').then(res => {
|
this.$http.post('/api/user/info').then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
|||||||
@@ -47,9 +47,8 @@
|
|||||||
},
|
},
|
||||||
show() {
|
show() {
|
||||||
if (this.currIndex == 0) {
|
if (this.currIndex == 0) {
|
||||||
this.currIndex = -1
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.currIndex = 0
|
this.$refs.Home.update()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user