fix: use existing dict option API in im views
This commit is contained in:
@@ -92,7 +92,7 @@ export const departmentSchemas = ref<FormSchema[]>([
|
||||
label: '状态',
|
||||
componentProps: {
|
||||
clearable: true,
|
||||
options: computed(() => dict.getOptions('ImOrgDepartmentStateOptions')),
|
||||
options: dict.getOption('ImOrgDepartmentStateOptions'),
|
||||
placeholder: '请选择状态',
|
||||
},
|
||||
},
|
||||
@@ -111,7 +111,7 @@ export const memberSchemas = ref<FormSchema[]>([
|
||||
label: '在职状态',
|
||||
componentProps: {
|
||||
clearable: true,
|
||||
options: computed(() => dict.getOptions('ImOrgEmploymentStateOptions')),
|
||||
options: dict.getOption('ImOrgEmploymentStateOptions'),
|
||||
placeholder: '请选择在职状态',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user