失败 | {{ 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) => {