diff --git a/src/api/management/model.js b/src/api/management/model.js index 602d9e8c0..8f77b519f 100644 --- a/src/api/management/model.js +++ b/src/api/management/model.js @@ -60,6 +60,14 @@ export function deleteModelDraft(id) { }) } +/** 查询模型数据 */ +export function getModelList() { + return request({ + url: `/api/model2d/list`, + method: 'get', + }) +} + diff --git a/src/views/userModelDesign/draftList/index.vue b/src/views/userModelDesign/draftList/index.vue index 37deebd43..ce9b079ce 100644 --- a/src/views/userModelDesign/draftList/index.vue +++ b/src/views/userModelDesign/draftList/index.vue @@ -2,11 +2,12 @@