Merge branch '0.8.X' of http://49.232.154.205:10100/DeXun/klp-oa into 0.8.X
This commit is contained in:
@@ -729,7 +729,13 @@ export default {
|
||||
...this.detailQueryParams,
|
||||
testMainId: this.currentTestId
|
||||
}).then(response => {
|
||||
this.detailList = response.rows
|
||||
// 归一化单字母前缀字段名:Jackson将cContent序列化为ccontent
|
||||
this.detailList = (response.rows || []).map(row => ({
|
||||
...row,
|
||||
cContent: row.ccontent ?? row.cContent,
|
||||
pContent: row.pcontent ?? row.pContent,
|
||||
sContent: row.scontent ?? row.sContent
|
||||
}))
|
||||
this.detailTotal = response.total
|
||||
this.detailLoading = false
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user