mirror of https://github.com/certd/certd
🔱: [client] sync upgrade with 3 commits [trident-sync]
fix: 修复search.value第一次查询无效的bug https://github.com/fast-crud/fast-crud/issues/208 build: publish successpull/14/head
parent
6fda0d6896
commit
474fd77970
|
@ -34,3 +34,4 @@ https://github.com/fast-crud/fs-server-js
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
"lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/",
|
||||
"upgrade": "yarn upgrade-interactive --latest",
|
||||
"tsc": "vue-tsc --noEmit --skipLibCheck",
|
||||
"circle:check": "pnpm dependency-cruise --validate --output-type err-html -f dependency-report.html src"
|
||||
"circle:check": "pnpm dependency-cruise --validate --output-type err-html -f dependency-report.html src",
|
||||
"afterPubPush": "git add . && git commit -m \"build: publish success\" && git push"
|
||||
},
|
||||
"author": "Greper",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue