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

@@ -26,7 +26,7 @@ const [Grid] = useVbenVxeGrid({
{
fieldName: 'followUpStatus',
label: '状态',
component: 'Select',
component: 'RadioGroup',
componentProps: {
allowClear: true,
options: FOLLOWUP_STATUS,

View File

@@ -26,7 +26,7 @@ const [Grid] = useVbenVxeGrid({
{
fieldName: 'followUpStatus',
label: '状态',
component: 'Select',
component: 'RadioGroup',
componentProps: {
allowClear: true,
options: FOLLOWUP_STATUS,

View File

@@ -171,7 +171,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
{
fieldName: 'transformStatus',
label: '转化状态',
component: 'Select',
component: 'RadioGroup',
componentProps: {
options: [
{ label: '未转化', value: false },