Remove redundant code
This commit is contained in:
parent
3912d5a02b
commit
aa5d78b1cd
@ -38,11 +38,8 @@ const {
|
|||||||
refresh: () => $table.value?.handleSearch(),
|
refresh: () => $table.value?.handleSearch(),
|
||||||
})
|
})
|
||||||
|
|
||||||
const roleOption = ref([])
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
$table.value?.handleSearch()
|
$table.value?.handleSearch()
|
||||||
api.getRoleList({ page: 1, page_size: 9999 }).then((res) => (roleOption.value = res.data))
|
|
||||||
})
|
})
|
||||||
|
|
||||||
async function handleRefreshApi() {
|
async function handleRefreshApi() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user