From 55f579ef6458d3d17e187315dd4a94931b95bfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Mon, 22 Sep 2025 16:16:45 +0800 Subject: [PATCH] =?UTF-8?q?UPDATE:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/plan/planList/components/planPopup.vue | 2 +- frontend/src/views/plan/planList/index.vue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index f90bd5a..1945aec 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -986,7 +986,7 @@ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string, plan: formContent.name = '' // 新建子计划允许选择数据源 const datasourceDicts = dictStore.getDictData('Datasource') - formContent.datasourceIds = datasourceDicts[0]?.code ?? '' + formContent.datasourceIds = [datasourceDicts[0]?.code] ?? [] formContent.memberIds = [] } generateData() diff --git a/frontend/src/views/plan/planList/index.vue b/frontend/src/views/plan/planList/index.vue index 7fe3c44..313ce1e 100644 --- a/frontend/src/views/plan/planList/index.vue +++ b/frontend/src/views/plan/planList/index.vue @@ -86,10 +86,9 @@ 子计划