mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
🔱: [client] sync upgrade with 3 commits [trident-sync]
fix: 修复search.value第一次查询无效的bug https://github.com/fast-crud/fast-crud/issues/208 build: publish success
This commit is contained in:
@@ -33,7 +33,8 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
||||
search: {
|
||||
validate: true,
|
||||
initialForm: {
|
||||
radio: null
|
||||
//查询默认值
|
||||
radio: "1"
|
||||
},
|
||||
buttons: {
|
||||
custom: {
|
||||
@@ -87,6 +88,14 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
||||
type: "dict-radio",
|
||||
dict: statusRef
|
||||
},
|
||||
text: {
|
||||
title: "默认值",
|
||||
type: "text",
|
||||
search: {
|
||||
show: true,
|
||||
value: "1"
|
||||
}
|
||||
},
|
||||
customRender: {
|
||||
title: "自定义render",
|
||||
search: {
|
||||
|
||||
@@ -6,15 +6,18 @@ const options: any = {
|
||||
const list = [
|
||||
{
|
||||
radio: "1",
|
||||
text: "1",
|
||||
customRender: true,
|
||||
customRender2: false,
|
||||
customRender3: true
|
||||
},
|
||||
{
|
||||
radio: "2"
|
||||
radio: "2",
|
||||
text: "2"
|
||||
},
|
||||
{
|
||||
radio: "0"
|
||||
radio: "0",
|
||||
text: "3"
|
||||
}
|
||||
];
|
||||
options.list = list;
|
||||
|
||||
Reference in New Issue
Block a user