Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
77487046
authored
Dec 03, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
修复 accessLog、errorLog 在 IDEA 报错的问题
parent
5eb30c7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/views/infra/apiAccessLog/ApiAccessLogDetail.vue
+3
-3
src/views/infra/apiErrorLog/ApiErrorLogDetail.vue
+1
-1
No files found.
src/views/infra/apiAccessLog/ApiAccessLogDetail.vue
View file @
77487046
...
...
@@ -32,8 +32,8 @@
<el-descriptions-item
label=
"请求耗时"
>
{{
detailData
.
duration
}}
ms
</el-descriptions-item>
<el-descriptions-item
label=
"操作结果"
>
<div
v-if=
"detailData.resultCode === 0"
>
正常
</div>
<div
v-else-if=
"detailData.resultCode > 0"
>
失败 |
{{
detailData
.
resultCode
}}
|
{{
detailData
.
resultMsg
}}
<div
v-else-if=
"detailData.resultCode > 0"
>
失败 |
{{
detailData
.
resultCode
}}
|
{{
detailData
.
resultMsg
}}
</div>
</el-descriptions-item>
</el-descriptions>
...
...
@@ -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
)
=>
{
...
...
src/views/infra/apiErrorLog/ApiErrorLogDetail.vue
View file @
77487046
...
...
@@ -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
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment