fix: dict
parent
7c8aeb8998
commit
da0eb81d3f
|
@ -120,14 +120,14 @@ export const searchFormSchema: FormSchema[] = [
|
|||
field: 'type',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.MP_MESSAGE_TYPE)
|
||||
options: getDictOptions(DICT_TYPE.MP_MESSAGE_TYPE, 'string')
|
||||
},
|
||||
colProps: { span: 8 }
|
||||
},
|
||||
{
|
||||
label: '用户标识',
|
||||
field: 'openid',
|
||||
component: 'Select',
|
||||
component: 'Input',
|
||||
colProps: { span: 8 }
|
||||
},
|
||||
{
|
||||
|
|
|
@ -85,7 +85,7 @@ const otherPayChannels = ref<any[]>([])
|
|||
|
||||
function initPayChannels() {
|
||||
// 微信支付
|
||||
for (const dict of getDictOptions(DICT_TYPE.PAY_CHANNEL_CODE_TYPE)) {
|
||||
for (const dict of getDictOptions(DICT_TYPE.PAY_CHANNEL_CODE_TYPE, 'string')) {
|
||||
const payChannel = {
|
||||
name: dict.label,
|
||||
code: dict.value as string
|
||||
|
|
|
@ -102,7 +102,7 @@ export const formSchema: FormSchema[] = [
|
|||
field: 'sslEnable',
|
||||
component: 'Switch',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING)
|
||||
options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean')
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue