Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.11.2^2
zouap 2 years ago
parent
commit
1c6c837e19
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      web_src/js/components/Model.vue

+ 0
- 6
web_src/js/components/Model.vue View File

@@ -230,16 +230,10 @@ export default {
let tableData;
tableData = res.data;
for (let i = 0; i < tableData.length; i++) {
<<<<<<< HEAD
trainTaskInfo = JSON.parse(tableData[i].trainTaskInfo || '{}');
tableData[i].engineName = this.getEngineName(tableData[i]);
tableData[i].computeResource = trainTaskInfo.ComputeResource;
tableData[i].computeResource = tableData[i].type == '0' ? 'CPU/GPU' : 'NPU';
=======
trainTaskInfo = JSON.parse(tableData[i].trainTaskInfo);
tableData[i].engineName = this.getEngineName(tableData[i]);
tableData[i].computeResource = trainTaskInfo.ComputeResource;
>>>>>>> origin/V20221116
tableData[i].cName = tableData[i].name;
tableData[i].rowKey = tableData[i].id + Math.random();
tableData[i].name = "";


Loading…
Cancel
Save