docs: 增加列设置文档

This commit is contained in:
wintel
2025-05-07 20:30:31 +08:00
parent f7bd7e22b4
commit ce01dca5c3
4 changed files with 126 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
---
title: 内置组件
title: 其他组件
createTime: 2025/04/23 23:43:26
permalink: /pro/components/
---
@@ -40,17 +40,6 @@ default-props: 数据源提供的数据类型。默认情况下为id/name的数
]
```
## 表格组件 auth-table
用于渲染给定列定义,给定数据的表格,简单用法如下:
```html
<auth-table ref="tableName" :table-fields="tableFields" :data="dataList" ></auth-table>
```
支持的事件row-click selection-change
支持的方法exportExcel clearSelection
## 表单组件 auth-form
根据定义动态渲染表单项,减少表单的开发。用法如下: