From 4f9c70f3cb683e8339bbd0e31223ce63622a6ae1 Mon Sep 17 00:00:00 2001 From: yuan Date: Wed, 7 Jul 2021 10:25:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83&=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/management/model.js | 4 +- .../draftList/components/create.vue | 11 +--- src/views/userModelDesign/draftList/index.vue | 53 ++++++++++++++----- src/views/userModelDesign/edit/index.vue | 2 +- 4 files changed, 44 insertions(+), 26 deletions(-) diff --git a/src/api/management/model.js b/src/api/management/model.js index 4c59844fc..602d9e8c0 100644 --- a/src/api/management/model.js +++ b/src/api/management/model.js @@ -3,7 +3,7 @@ import request from '@/utils/request'; /** 新建用户草稿2d模型*/ export function createModelDraft(data) { return request({ - url: `draft/model2d/`, + url: `/draft/model2d/`, method: 'post', data }) @@ -12,7 +12,7 @@ export function createModelDraft(data) { /** 分页查询用户2d模型草稿*/ export function getModelDraftList(params) { return request({ - url: `draft/model2d/paging`, + url: `/draft/model2d/paging`, method: 'get', params }) diff --git a/src/views/userModelDesign/draftList/components/create.vue b/src/views/userModelDesign/draftList/components/create.vue index 16b632aaa..3ef8c1be3 100644 --- a/src/views/userModelDesign/draftList/components/create.vue +++ b/src/views/userModelDesign/draftList/components/create.vue @@ -7,12 +7,6 @@ - - - - - -