refactor: 优化pinia setup store组合式函数写法
Former-commit-id: 27347ede51d0952d3422c3a6c3a86652f91e5639
This commit is contained in:
@@ -344,7 +344,7 @@ async function getDeptOptions() {
|
||||
* 获取性别下拉项
|
||||
*/
|
||||
function getGenderOptions() {
|
||||
proxy.$listDictItemsByTypeCode('gender').then((response: any) => {
|
||||
proxy.$getDictionaries('gender').then((response: any) => {
|
||||
state.genderOptions = response?.data;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user