From 5443e46708f3b193c0ca3b6e85609247ba6aacf0 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 23 Aug 2022 17:42:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/trainingManage.js | 2 +- src/views/trainingManage/create.vue | 81 ++++++++++++++++++++--- src/views/trainingManage/editDetails.vue | 32 ++++++--- src/views/trainingManage/trainingList.vue | 38 ++++++++--- 4 files changed, 126 insertions(+), 27 deletions(-) diff --git a/src/api/trainingManage.js b/src/api/trainingManage.js index 1f6da9c1a..9af992810 100644 --- a/src/api/trainingManage.js +++ b/src/api/trainingManage.js @@ -27,7 +27,7 @@ export function createTraining(data) { /** 更新当前用户的某个实训草稿 */ export function updateTraining(data) { return request({ - url: `/api/v2/draft/training`, + url: `/api/v2/draft/training/update/info`, method: 'post', data }); diff --git a/src/views/trainingManage/create.vue b/src/views/trainingManage/create.vue index 2d2cdebc6..0bc6295c9 100644 --- a/src/views/trainingManage/create.vue +++ b/src/views/trainingManage/create.vue @@ -1,6 +1,30 @@