摘要:
第一部分: table pagination 分页查询封装 src=>components=>common=> BaseTable.vue <template> <div> <el-table :class="customer ? 'common-customer-table' : ''" ref= 阅读全文
摘要:
情况1:组件中直接使用的是el-table <el-table ref="table"></el-table> 那么需要在用到的地方直接使用 this.$nextTick(() => { this.$refs.table.bodyWrapper.scrollTop = 0 }) 情况2:将el-ta 阅读全文