From 77487046392a0dda642b49e4127c0e857b9719d5 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 3 Dec 2023 18:33:33 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20accessLog?= =?UTF-8?q?=E3=80=81errorLog=20=E5=9C=A8=20IDEA=20=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/apiAccessLog/ApiAccessLogDetail.vue | 6 +++--- src/views/infra/apiErrorLog/ApiErrorLogDetail.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue b/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue index 43a34dc4..0fd5aec3 100644 --- a/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue +++ b/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue @@ -32,8 +32,8 @@ {{ detailData.duration }} ms
正常
-
失败 | {{ detailData.resultCode }} | {{ detailData.resultMsg }} +
+ 失败 | {{ detailData.resultCode }} | {{ detailData.resultMsg }}
@@ -49,7 +49,7 @@ defineOptions({ name: 'ApiAccessLogDetail' }) const dialogVisible = ref(false) // 弹窗的是否展示 const detailLoading = ref(false) // 表单地加载中 -const detailData = ref() // 详情数据 +const detailData = ref({} as ApiAccessLog.ApiAccessLogVO) // 详情数据 /** 打开弹窗 */ const open = async (data: ApiAccessLog.ApiAccessLogVO) => { diff --git a/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue b/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue index 7340ca82..41153a28 100644 --- a/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue +++ b/src/views/infra/apiErrorLog/ApiErrorLogDetail.vue @@ -64,7 +64,7 @@ defineOptions({ name: 'ApiErrorLogDetail' }) const dialogVisible = ref(false) // 弹窗的是否展示 const detailLoading = ref(false) // 表单的加载中 -const detailData = ref() // 详情数据 +const detailData = ref({} as ApiErrorLog.ApiErrorLogVO) // 详情数据 /** 打开弹窗 */ const open = async (data: ApiErrorLog.ApiErrorLogVO) => {