Conflicts:
	src/api/system/area/index.ts
	src/views/system/area/index.vue
This commit is contained in:
YunaiV
2023-03-25 00:46:42 +08:00
3 changed files with 26 additions and 3 deletions

View File

@ -0,0 +1,23 @@
import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
// CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: null,
action: false,
columns: [
{
title: '编号',
field: 'id',
table: {
treeNode: true,
align: 'left'
}
},
{
title: '名字',
field: 'name'
}
]
})
export const { allSchemas } = useVxeCrudSchemas(crudSchemas)