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:
parent
61997fd102
commit
f121c01227
@ -37,13 +37,7 @@ export function useFetchSelect(props: FetchSelectProps) {
|
||||
})
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
})
|
||||
onMounted(() => loadData())
|
||||
|
||||
return {
|
||||
loading,
|
||||
options,
|
||||
value
|
||||
}
|
||||
return { loading, options, value }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user