切换实训项目-标签页回到第一项

master
yujialong 3 years ago
parent 796261d7b2
commit 7c94028972
  1. 6
      src/components/TestPanel.vue

@ -483,6 +483,12 @@ export default {
this.projectId = res.message.project[0].projectId this.projectId = res.message.project[0].projectId
} }
this.points = res.message.points; this.points = res.message.points;
// -
if (this.points.length) {
this.$parent.workbench1 = '0';
}
this.tableData = res.message.points; this.tableData = res.message.points;
let arr1 = this.tableData; let arr1 = this.tableData;
let result1 = arr1.map(e => e.judgmentPointsId); let result1 = arr1.map(e => e.judgmentPointsId);

Loading…
Cancel
Save