签入版本

This commit is contained in:
2026-10-11 19:06:33 +08:00
parent 17d28de8b7
commit 4084c6bd17
674 changed files with 58855 additions and 1892 deletions
@@ -92,12 +92,12 @@ const [register, { getFieldsValue }] = useForm({
:row-key="(row) => row.id"
ref="tableRef"
:actionColumn="actionColumn"
@selection-change="onSelectionChange"
@update:checked-row-keys="onCheckedRow"
>
<template #tableTitle>
<el-button type="primary" @click="handleAdd" v-perm="['sys:example:add']">
<n-button type="primary" @click="handleAdd" v-perm="['sys:example:add']">
添加案例演示
</el-button>
</n-button>
</template>
</BasicTable>
</template>
@@ -119,13 +119,22 @@ const loadDataTable = (params) => getExamplePage(params);
### 行操作列(TableAction)
```typescript
import { h } from 'vue';
import { TableAction } from '@/components/Table';
const actionColumn = {
width: 200,
title: '操作',
dataIndex: 'action',
slots: { customRender: 'action' },
key: 'action',
fixed: 'right',
render(record) {
return h(TableAction as any, {
actions: [
{ label: '编辑', type: 'info', onClick: () => handleEdit(record), auth: ['sys:example:update'] },
{ label: '删除', type: 'error', onClick: () => handleDelete(record), auth: ['sys:example:delete'] },
],
});
},
};
```
@@ -6,11 +6,11 @@
```text
document/
├── mysql/rxthinkcmf.laravel13.elevue.sql # MySQL 版本(约 216MB)
├── postgresql/rxthinkcmf.laravel13.elevue.sql # PostgreSQL 版本
├── sqlserver/rxthinkcmf.laravel13.elevue.sql # SQL Server 版本
├── oracle/rxthinkcmf.laravel13.elevue.sql # Oracle 版本
└── sqlite/rxthinkcmf.laravel13.elevue.sql # SQLite 版本
├── mysql/rxthinkcmf.laravel13.naivevue.sql # MySQL 版本(约 216MB)
├── postgresql/rxthinkcmf.laravel13.naivevue.sql # PostgreSQL 版本
├── sqlserver/rxthinkcmf.laravel13.naivevue.sql # SQL Server 版本
├── oracle/rxthinkcmf.laravel13.naivevue.sql # Oracle 版本
└── sqlite/rxthinkcmf.laravel13.naivevue.sql # SQLite 版本
```
各脚本已针对对应数据库的 SQL 语法做了适配,可直接导入使用。
@@ -29,7 +29,7 @@
| TypeScript | - | JavaScript 超集,类型安全 |
| Vite | - | 前端构建工具 |
| Pinia | - | Vue 3 官方状态管理库 |
| ElementPlus | - | Vue 3 UI 组件库 |
| NaiveUI | - | Vue 3 UI 组件库 |
| Axios | - | HTTP 请求库 |
| TailwindCSS | - | 原子化 CSS 框架 |
| TinyMce | - | 富文本编辑器 |