敏感词聊天记录第一页固定底部
This commit is contained in:
@@ -486,6 +486,10 @@
|
|||||||
})
|
})
|
||||||
this.msgPages = res.data.pages || 2
|
this.msgPages = res.data.pages || 2
|
||||||
}
|
}
|
||||||
|
this.$nextTick(() => {
|
||||||
|
var height = document.querySelector('.content-right-info').scrollHeight
|
||||||
|
document.querySelector('.content-right-info').scrollTop = height
|
||||||
|
})
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
|
|||||||
@@ -485,6 +485,10 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.msgPages = res.data.pages || 2
|
this.msgPages = res.data.pages || 2
|
||||||
|
this.$nextTick(() => {
|
||||||
|
var height = document.querySelector('.content-right-info').scrollHeight
|
||||||
|
document.querySelector('.content-right-info').scrollTop = height
|
||||||
|
})
|
||||||
}
|
}
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user