修改bug

This commit is contained in:
limengnan 2026-03-19 08:54:15 +08:00
parent 36d4b57ce3
commit 7c8776ce49
2 changed files with 3 additions and 2 deletions

View File

@ -338,8 +338,9 @@ function changeShowResult(isShow:boolean){ // 切换显示结果模型
@click="editClick(scope.row)" style="cursor: pointer; "> @click="editClick(scope.row)" style="cursor: pointer; ">
<img src="@/assets/table/activate.png" alt="" title="是否激活" <img src="@/assets/table/activate.png" alt="" title="是否激活"
@click="changeStatus(scope.row)" style="cursor: pointer; "> @click="changeStatus(scope.row)" style="cursor: pointer; ">
<img src="@/assets/table/del.png" alt="" title="删除" <img v-if="scope.row.isCurrent == 0" src="@/assets/table/del.png" alt="" title="删除"
@click="delAloneClick(scope.row)" style="cursor: pointer; "> @click="delAloneClick(scope.row)" style="cursor: pointer; ">
<img v-else src="@/assets/table/del_disabled.png" alt="" title="删除">
</span> </span>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -55,7 +55,7 @@ function gettableData() {
loading.value = true; loading.value = true;
trainAlgorithmsPage(params).then((res:any) => { trainAlgorithmsPage(params).then((res:any) => {
tableData.value = res.data.records; tableData.value = res.data.records;
queryParams.value.total = res.data.total; total.value = res.data.total;
loading.value = false; loading.value = false;
}) })
} }