From 5bbe374ebf737f3d0c9131e5f9d55666eac665a5 Mon Sep 17 00:00:00 2001 From: DevOps Date: Mon, 29 Dec 2025 11:21:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E7=BC=96=E8=BE=91=E9=A1=B9?= =?UTF-8?q?=E7=9B=AEAPI=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将updateProject改为submitProject,后端submit接口同时支持新增和修改 --- src/views/martial/project/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/martial/project/index.vue b/src/views/martial/project/index.vue index 8200de1..b967d9b 100644 --- a/src/views/martial/project/index.vue +++ b/src/views/martial/project/index.vue @@ -489,7 +489,6 @@ import { import { getProjectList, submitProject, - updateProject, removeProject, importProjects, exportProjects @@ -727,7 +726,7 @@ const handleSubmit = async () => { submitLoading.value = true try { if (form.id) { - await updateProject(form) + await submitProject(form) ElMessage.success('修改成功') } else { await submitProject(form)