this.$nextTick(() => {
var container = this.$el.querySelector('#talk');
document.documentElement.scrollTop = container.scrollHeight //百度的代碼可能這段不一樣。只有這樣寫才生效
})
this.$nextTick(() => {
var container = this.$el.querySelector('#talk');
document.documentElement.scrollTop = container.scrollHeight //百度的代碼可能這段不一樣。只有這樣寫才生效
})
Component({ behaviors: [], // 屬性定義(詳情參見下文) properties: { myProperty: { // 屬性名 type: String,