diff --git a/src/api/simulation.js b/src/api/simulation.js index 00973172e..afead9ca8 100644 --- a/src/api/simulation.js +++ b/src/api/simulation.js @@ -599,3 +599,11 @@ export function controlYjTrain(simulationId, right) { params: { right } }); } +/** 创建仿真(不通过功能id) */ +export function createSimulationNoFunction(mapId, data) { + return request({ + url: `/simulation/new/${mapId}`, + method: 'post', + data + }); +} diff --git a/src/views/contest/contestDetail.vue b/src/views/contest/contestDetail.vue index 76fc4c3c2..a5a9dc502 100644 --- a/src/views/contest/contestDetail.vue +++ b/src/views/contest/contestDetail.vue @@ -48,13 +48,18 @@ + + +