修改考试中心完成后替换错误BUG
This commit is contained in:
@@ -58,7 +58,9 @@
|
||||
if(props.tabIndex !== 0 && item.examStatText === 'Y') {
|
||||
reload()
|
||||
} else{
|
||||
const index = data_list.value.findIndex((res) => res.taskId === item.taskId);
|
||||
const index = data_list.value.findIndex((res) => res.examId === item.examId);
|
||||
console.log('index', index);
|
||||
console.log('item', item);
|
||||
if (index !== -1) {
|
||||
Object.assign(data_list.value[index], {
|
||||
...item
|
||||
|
||||
Reference in New Issue
Block a user