From fda0f4fcde7f3bd49ca483fdc7036e0514cebcf8 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Tue, 15 Apr 2025 23:56:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E8=BE=91=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E6=97=B6=E4=B8=BB=E9=A1=B9=E7=9B=AE=E9=80=89=E9=A1=B9=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=BD=93=E5=89=8D=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project-demand/summary/add.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue index d3734c6..f9f0bdc 100644 --- a/src/views/project-demand/summary/add.vue +++ b/src/views/project-demand/summary/add.vue @@ -520,7 +520,11 @@ const disabledDate = (time) => { const getProjectList = () => { getProjectOption().then(res => { if (res.code === 1000) { - masterProjectList.value = res.data + if(name.value === 'Summary/edit'){ + masterProjectList.value = res.data.filter(item => item.value!=route.query.projectId) + }else{ + masterProjectList.value = res.data + } } }) }