Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 11:29:20 +08:00

perf: 优化 useFetchSelect 细节

This commit is contained in:
pany 2024-11-25 10:26:04 +08:00
parent 61997fd102
commit f121c01227

View File

@ -37,13 +37,7 @@ export function useFetchSelect(props: FetchSelectProps) {
})
}
onMounted(() => {
loadData()
})
onMounted(() => loadData())
return {
loading,
options,
value
}
return { loading, options, value }
}