chore: 优化演示代码

This commit is contained in:
xiaoxian521
2024-01-11 01:53:32 +08:00
parent 81552e0261
commit 9d965a7c63
22 changed files with 77 additions and 88 deletions

View File

@@ -33,7 +33,7 @@ function tabClick({ index }) {
<el-alert
title="高级用法中所有表格都设置了 row-key 后端需返回唯一值的字段比如id 作用1. 用来优化 Table
的渲染尤其当字段在深层结构中2. 防止拖拽后表格组件内部混乱(拖拽必须设置哦,坑都帮您们踩过啦 ❤️"
的渲染尤其当字段在深层结构中2. 防止拖拽后表格组件内部混乱(拖拽必须设置)"
type="info"
:closable="false"
/>

View File

@@ -71,7 +71,7 @@ export const list = [
{
key: "watermark",
content: rendContent("watermark"),
title: "水印(无法删除的水印哦🤓️)",
title: "水印",
component: Watermark
},
{

View File

@@ -20,7 +20,7 @@ const {
<el-select
ref="selectRef"
v-model="selectValue"
class="w-[160px]"
class="!w-[200px]"
placeholder="请选择"
clearable
multiple

View File

@@ -17,6 +17,7 @@ const {
<el-select
ref="selectRef"
v-model="selectValue"
class="!w-[200px]"
placeholder="请选择"
clearable
>

View File

@@ -34,8 +34,8 @@ export function useColumns(waterRef: Ref) {
font: "16px Microsoft YaHei",
globalAlpha: 0.8,
forever: true,
width: 252,
height: 80
width: 240,
height: 90
});
});
});

View File

@@ -20,13 +20,13 @@ function tabClick({ index }) {
<span class="font-medium">
平台二次封装 element-plus Table 完全兼容 Api
并提供灵活的配置项以及完善的类型提醒再也不用将代码都写在 template
里了欢迎 Star
里了
<el-link
href="https://github.com/pure-admin/pure-admin-table"
target="_blank"
style="margin: 0 4px 5px; font-size: 16px"
>
@pureadmin/table
@pureadmin/table 源码
</el-link>
</span>
</div>