提交 537a1fc8 authored 作者: 王鹏飞's avatar 王鹏飞

fix: #3261

上级 31976c55
......@@ -37,7 +37,7 @@ function fetchReport() {
async res => {
report = res.data.detail
let detail = []
if (report.score_detail) {
if (report.score_detail || report.detail) {
try {
detail = JSON.parse(report.score_detail || report.detail)
form.score_detail = detail.map(item => {
......@@ -49,7 +49,6 @@ function fetchReport() {
} catch (error) {
console.log(error)
await fetchTemplate()
console.log(error)
}
} else {
await fetchTemplate()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论