fix: use existing dict option API in im views

This commit is contained in:
richjohnrambo
2026-09-03 14:53:26 +08:00
parent 82675c7500
commit 5a2ed4b2a4
23 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ export const schemas = ref<FormSchema[]>([
label: '状态',
componentProps: {
clearable: true,
options: computed(() => dict.getOptions('ImFileStatusOptions')),
options: dict.getOption('ImFileStatusOptions'),
placeholder: '请选择状态',
},
},
@@ -80,7 +80,7 @@ export const schemas = ref<FormSchema[]>([
label: '用途',
componentProps: {
clearable: true,
options: computed(() => dict.getOptions('ImFilePurposeOptions')),
options: dict.getOption('ImFilePurposeOptions'),
placeholder: '请选择用途',
},
},