摘要: 给相同的类合并行 <el-table border class="customer-no-border-table" element-loading-text="数据正在加载中..." :row-class-name="tableRowClassName" :header-cell-style="{ 阅读全文
posted @ 2024-07-23 19:07 崛起崛起 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 让滚动条回到0就不回出现这个问题了 解决方案: scrollToTop() { // 使用 $refs 获取 el-table 实例,并调用其 scrollTo 方法将滚动条回到顶部 this.$nextTick(() => { const table = this.$refs.table1; if 阅读全文
posted @ 2024-07-23 15:08 崛起崛起 阅读(114) 评论(0) 推荐(0) 编辑
摘要: <el-table :data="tableData" ref="tableData" height="450px" class="customer-no-border-table" :row-class-name="tableRowClassName" :header-cell-style="{ 阅读全文
posted @ 2024-07-23 14:59 崛起崛起 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 实现方法 1.拿到每一行的高度, 2.再拿到每一行展开行的高度 3.累加起来,让滚动条滚动到对应的高度 tableScrollToRow(tableElement, rowIndex) { const expandedRows = tableElement.bodyWrapper.querySele 阅读全文
posted @ 2024-07-23 14:08 崛起崛起 阅读(625) 评论(0) 推荐(0) 编辑
摘要: <el-image v-for="(image, index) in form.imgUrl" :key="index" :src="image" class="image" :preview-src-list="privewImages(index)" alt="图片/音频图片" > <div s 阅读全文
posted @ 2024-07-23 11:34 崛起崛起 阅读(173) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示