reactor:【system 系统管理】infra 的 apiAccessLog 进一步统一代码风格

This commit is contained in:
YunaiV
2025-09-08 23:25:33 +08:00
parent 2e38b1906d
commit cec3b7ab1e
5 changed files with 53 additions and 68 deletions

View File

@@ -21,7 +21,7 @@ const [DetailModal, detailModalApi] = useVbenModal({
});
/** 刷新表格 */
function onRefresh() {
function handleRefresh() {
gridApi.query();
}
@@ -57,6 +57,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,
@@ -72,7 +73,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
<DocAlert title="系统日志" url="https://doc.iocoder.cn/system-log/" />
</template>
<DetailModal @success="onRefresh" />
<DetailModal @success="handleRefresh" />
<Grid table-title="API 访问日志列表">
<template #toolbar-tools>
<TableAction