fix: use existing dict option API in im views
This commit is contained in:
@@ -58,7 +58,7 @@ export const schemas = ref<FormSchema[]>([
|
||||
defaultValue: 'business',
|
||||
componentProps: {
|
||||
clearable: false,
|
||||
options: computed(() => dict.getOptions('ImOutboxSourceOptions')),
|
||||
options: dict.getOption('ImOutboxSourceOptions'),
|
||||
placeholder: '请选择来源',
|
||||
},
|
||||
},
|
||||
@@ -68,7 +68,7 @@ export const schemas = ref<FormSchema[]>([
|
||||
label: '状态',
|
||||
componentProps: {
|
||||
clearable: true,
|
||||
options: computed(() => dict.getOptions('ImOutboxStatusOptions')),
|
||||
options: dict.getOption('ImOutboxStatusOptions'),
|
||||
placeholder: '请选择状态',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user