Merge pull request #26 from mizhexiaoxiao/dev

Remove redundant code
This commit is contained in:
mizhexiaoxiao 2024-03-07 14:15:33 +08:00 committed by GitHub
commit de6ff1ee11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,11 +38,8 @@ const {
refresh: () => $table.value?.handleSearch(),
})
const roleOption = ref([])
onMounted(() => {
$table.value?.handleSearch()
api.getRoleList({ page: 1, page_size: 9999 }).then((res) => (roleOption.value = res.data))
})
async function handleRefreshApi() {