From c66d181b98e95e3624d76630c3a3925ad57a5634 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Tue, 18 Feb 2025 09:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E8=AE=A1=E5=88=92=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=8B=BE=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan/planList/components/planPopup.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index 2762897..6184943 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -279,21 +279,21 @@ const rules: Ref>> = ref({ const open = async (sign: string, data: Plan.ReqPlan, currentMode: string,) => { - - value.value = [] + unboundPqDevList.value = [] + boundPqDevList.value = [] //处理异步调用 const patternId = dictStore.getDictData('Pattern').find(item=>item.name=== currentMode)?.id ?? '' data.pattern = patternId mode.value = currentMode titleType.value = sign - if (data.id) { - Object.assign(formContent,{ ...data }) - } else { - resetFormContent() - } - // 重置表单 - dialogFormRef.value?.resetFields() + if (data.id) { + Object.assign(formContent,{ ...data }) + } else { + resetFormContent() + } + // 重置表单 + dialogFormRef.value?.resetFields() if(sign == 'add') {