feat: pure-table添加动态表头示例

This commit is contained in:
xiaoxian521
2024-09-23 14:45:02 +08:00
parent ab39864ef4
commit 0004f1318c
5 changed files with 91 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ const { columns, dataList, print, cellStyle, rowStyle, headerCellStyle } =
<template>
<div>
<el-button type="primary" class="mb-[20px] float-right" @click="print">
<el-button type="primary" class="mb-[20px]" @click="print">
打印
</el-button>
<!-- rowHoverBgColor="transparent" 鼠标经过行时去掉行的背景色 -->