Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuan Zhixiang
c-render-vue
Commits
79a77d5e
Commit
79a77d5e
authored
Apr 29, 2024
by
Yuan Zhixiang
Browse files
修复 报错显示
parent
581661b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/App.vue
View file @
79a77d5e
...
...
@@ -110,7 +110,10 @@ const exception_msg = computed(() => { // 获取后端返回的异常信息
return
data
.
value
[
'
trace
'
][
0
][
'
exception_msg
'
].
replace
(
/`/g
,
"
'
"
).
replace
(
/‘/g
,
"
'
"
).
replace
(
/’/g
,
"
'
"
)
}
}
catch
(
e
)
{
}
return
''
try
{
return
data
.
value
[
'
error
'
]
}
catch
(
e
)
{
}
return
'
unknown error
'
})
function
get_step
(
_step
)
{
// 获取某一步的运行结果(1~n)
if
(
_step
<
1
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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