From fa60bfa07970c192c85a437e7db784eccdae2839 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期一, 16 六月 2025 20:04:15 +0800 Subject: [PATCH] 修改bug --- laboratory/src/views/dataManagement/approvalPlan/addPlan.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/laboratory/src/views/dataManagement/approvalPlan/addPlan.vue b/laboratory/src/views/dataManagement/approvalPlan/addPlan.vue index 77745c4..d78dce6 100644 --- a/laboratory/src/views/dataManagement/approvalPlan/addPlan.vue +++ b/laboratory/src/views/dataManagement/approvalPlan/addPlan.vue @@ -298,8 +298,8 @@ console.log('获取详情参数:', { id: this.id }) getDetailById({ id: this.id }).then(res => { console.log('详情接口返回:', res) - if (res.code === 200 && res.data) { - const data = res.data + if (res) { + const data = res // 设置表单数据 this.form = { projectName: data.projectName, -- Gitblit v1.7.1