feat: boolean 类型使用 RadioGroup 解决 select boolean 类型 warn

This commit is contained in:
xingyu4j
2025-10-23 10:14:47 +08:00
parent 7ae3ac66fc
commit e73305d440
5 changed files with 5 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
{
fieldName: 'replyStatus',
label: '回复状态',
component: 'Select',
component: 'RadioGroup',
componentProps: {
options: [
{ label: '已回复', value: true },

View File

@@ -23,7 +23,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
{
fieldName: 'brokerageEnabled',
label: '推广资格',
component: 'Select',
component: 'RadioGroup',
componentProps: {
placeholder: '请选择推广资格',
allowClear: true,