Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Dec 18, 2024
1 parent b93488f commit f944899
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/zh/front/component/ma-pro-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ add({
|`type`| `el-table` 原生基础上,增加 `operation`, `sort`,第一个为操作栏,可通过 `API 扩展`,第二个为`行拖动排序` | `string` | - | 1.0.0 |
|`cellRenderTo`| 渲染单元格为表格注册的插件 | [查看下方类型](#cellrenderto-使用渲染插件) | - | 1.0.0 |
|`isRender`| 是否渲染列,跟 `hide` 不同的是,不会在表格设置里显示此列 | `boolean & () => boolean` | - | 1.0.55 |
|`cellRenderPro`| `cellRender` 加强型,增加了第二个参数 `proxy: MaProTableExpose` | `(data, proxy) => VNode | string` | - | 1.0.55 |
|`headerRenderPro`| `headerRenderPro` 加强型,增加了第二个参数 `proxy: MaProTableExpose` | `(data, proxy) => VNode | string` | - | 1.0.55 |
|`cellRenderPro`| `cellRender` 加强型,增加了第二个参数 `proxy: MaProTableExpose` | `(data, proxy) => VNode & string` | - | 1.0.55 |
|`headerRenderPro`| `headerRender` 加强型,增加了第二个参数 `proxy: MaProTableExpose` | `(data, proxy) => VNode & string` | - | 1.0.55 |
|`operationConfigure`| 操作栏配置,只有 `type``operation` 生效 | [查看下方类型](#operationconfigure-操作栏) | - | 1.0.0 |

##### cellRenderTo 使用渲染插件
Expand Down
11 changes: 6 additions & 5 deletions docs/zh/front/component/ma-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@

### SearchItems

| 参数 | 说明 | 类型 | 默认值 | 版本 |
|----------|------------------------|----------|-----|-------|
| `span` | 合并跨列数 | `number` | 1 | 1.0.0 |
| `offset` | 间隔大小 | `number` | 0 | 1.0.0 |
| ... | 其余都是 `ma-form-item` 参数 | - | - | 1.0.0 |
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|----------|------------------------|---------------------------|---|-------|
| `span` | 合并跨列数 | `number` | 1 | 1.0.0 |
| `offset` | 间隔大小 | `number` | 0 | 1.0.0 |
| `hide` | 是否隐藏 | `boolean & () => boolean` | false | 1.0.0 |
| ... | 其余都是 `ma-form-item` 参数 | - | - | 1.0.0 |

## Event

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
},
"dependencies": {
"@imengyu/vue3-context-menu": "^1.4.2",
"@mineadmin/echarts": "^1.0.5",
"@mineadmin/echarts": "^1.0.1",
"@mineadmin/form": "^1.0.21",
"@mineadmin/pro-table": "^1.0.53",
"@mineadmin/search": "^1.0.25",
"@mineadmin/pro-table": "^1.0.55",
"@mineadmin/search": "^1.0.27",
"@mineadmin/table": "^1.0.29",
"@vueuse/core": "^11.1.0",
"@vueuse/integrations": "^11.1.0",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f944899

Please sign in to comment.