修改样式

This commit is contained in:
GGJ
2024-12-05 18:14:43 +08:00
parent 6010cbf20a
commit b1c9375873
10 changed files with 171 additions and 135 deletions

View File

@@ -8,7 +8,6 @@
:search-param='searchParam'
:search-col='searchCol'
/>
<!-- 表格主体 -->
<div class='table-main' :class='{ card: showCard }' >
<!-- 表格头部 操作按钮 -->
@@ -43,10 +42,11 @@
>
<!-- 默认插槽 -->
<slot />
<template v-for='item in tableColumns' :key='item'>
<!-- selection || radio || index || expand || sort -->
<el-table-column
v-if='item.type && columnTypes.includes(item.type)'
v-if='item.type && columnTypes.includes(item.type) && item.isShow'
v-bind='item'
:align="item.align ?? 'center'"
:reserve-selection="item.type == 'selection'"