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 },

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,