diff --git a/src/modules/sys/LogErrorView.vue b/src/modules/sys/LogErrorView.vue index b67d90d..d0b2689 100644 --- a/src/modules/sys/LogErrorView.vue +++ b/src/modules/sys/LogErrorView.vue @@ -2,12 +2,16 @@ /** * F006 错误日志 - W4.16 * + * W17.5: 套 PageHeader/SearchBar 标准化模板 (limit 10 + :page-sizes) + * * 后端: GET /sys/log/error/page * 字段: id/module/requestUri/requestMethod/requestParams/userAgent/ip/errorInfo/createDate */ import { onMounted, ref } from 'vue' import { httpGet } from '@/utils/request' import DataTable from '@/components/DataTable/DataTable.vue' +import PageHeader from '@/components/PageHeader/PageHeader.vue' +import SearchBar from '@/components/SearchBar/SearchBar.vue' interface LogEntry { id: string @@ -27,7 +31,7 @@ const total = ref(0) const loading = ref(false) const error = ref(null) const page = ref(1) -const limit = ref(20) +const limit = ref(10) const filters = ref({ module: '' }) const detailVisible = ref(false) @@ -91,20 +95,16 @@ onMounted(load)