fix: account #I6R59O

pull/4/MERGE
xingyu 2023-03-28 23:38:49 +08:00
parent 4a7339236b
commit f919305e36
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import { BasicColumn, FormSchema, useRender } from '@/components/Table' import { BasicColumn, FormSchema, useRender } from '@/components/Table'
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' import { DICT_TYPE, getBoolDictOptions } from '@/utils/dict'
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
{ {
@ -100,10 +100,9 @@ export const formSchema: FormSchema[] = [
{ {
label: '是否开启 SSL', label: '是否开启 SSL',
field: 'sslEnable', field: 'sslEnable',
component: 'Select', component: 'Switch',
defaultValue: 0,
componentProps: { componentProps: {
options: getIntDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING) options: getBoolDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING)
} }
} }
] ]