🔱: [client] sync upgrade with 3 commits [trident-sync]

Merge remote-tracking branch 'origin/main'
fix: 修复search.formItem配置无效的bug
client_sync
GitHub Actions Bot 2024-10-30 19:26:28 +00:00
parent 27a9fc32a6
commit fadb1d35b3
1 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import * as api from "./api"; import * as api from "./api";
import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, dict, EditReq, UserPageQuery, UserPageRes } from "@fast-crud/fast-crud"; import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, dict, EditReq, TabsFilterOption, UserPageQuery, UserPageRes } from "@fast-crud/fast-crud";
import { computed, ref } from "vue"; import { computed, ref } from "vue";
import { message } from "ant-design-vue"; import { message } from "ant-design-vue";
@ -42,6 +42,15 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
options: { options: {
layout: formLayoutRef layout: formLayoutRef
}, },
formItem: {
labelCol: {
//固定label宽度
span: null,
style: {
width: "100px"
}
}
},
container: { container: {
action: { action: {
col: { col: {