摘要: this.$nextTick(() => { this.$refs.navBox.scrollTop = 0; }); 或 this.$nextTick(() => { let scrollElem = this.$refs.scrollDiv; scrollElem.scrollTo({ top: 阅读全文
posted @ 2022-12-06 17:06 ThisCall 阅读(541) 评论(0) 推荐(0) 编辑