File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 32
32
<el-descriptions-item label =" 请求耗时" >{{ detailData.duration }} ms</el-descriptions-item >
33
33
<el-descriptions-item label =" 操作结果" >
34
34
<div v-if =" detailData.resultCode === 0" >正常</div >
35
- <div v-else-if =" detailData.resultCode > 0"
36
- > 失败 | {{ detailData.resultCode }} | {{ detailData.resultMsg }}
35
+ <div v-else-if =" detailData.resultCode > 0" >
36
+ 失败 | {{ detailData.resultCode }} | {{ detailData.resultMsg }}
37
37
</div >
38
38
</el-descriptions-item >
39
39
</el-descriptions >
@@ -49,7 +49,7 @@ defineOptions({ name: 'ApiAccessLogDetail' })
49
49
50
50
const dialogVisible = ref (false ) // 弹窗的是否展示
51
51
const detailLoading = ref (false ) // 表单地加载中
52
- const detailData = ref () // 详情数据
52
+ const detailData = ref ({} as ApiAccessLog . ApiAccessLogVO ) // 详情数据
53
53
54
54
/** 打开弹窗 */
55
55
const open = async (data : ApiAccessLog .ApiAccessLogVO ) => {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ defineOptions({ name: 'ApiErrorLogDetail' })
64
64
65
65
const dialogVisible = ref (false ) // 弹窗的是否展示
66
66
const detailLoading = ref (false ) // 表单的加载中
67
- const detailData = ref () // 详情数据
67
+ const detailData = ref ({} as ApiErrorLog . ApiErrorLogVO ) // 详情数据
68
68
69
69
/** 打开弹窗 */
70
70
const open = async (data : ApiErrorLog .ApiErrorLogVO ) => {
You can’t perform that action at this time.
0 commit comments