Commit 79a77d5e authored by Yuan Zhixiang's avatar Yuan Zhixiang
Browse files

修复 报错显示

parent 581661b8
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment