fix: #I6R5EL

pull/4/MERGE
xingyu 2023-03-29 23:15:08 +08:00
parent 8e7581c6cf
commit 4dc24923b3
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ export const formSchema: FormSchema[] = [
field: 'leaderUserId',
component: 'ApiSelect',
componentProps: {
options: () => getListSimpleUsers(),
api: () => getListSimpleUsers(),
labelField: 'nickname',
valueField: 'id'
}

View File

@ -1,5 +1,5 @@
import { BasicColumn, FormSchema, useRender } from '@/components/Table'
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
export const columns: BasicColumn[] = [
{
@ -101,7 +101,7 @@ export const formSchema: FormSchema[] = [
component: 'Select',
required: true,
componentProps: {
options: getIntDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE)
options: getStrDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE)
}
},
{