From 37369a8e9a4a7351e9231721d2cdcbc0365cfb8b Mon Sep 17 00:00:00 2001 From: zc Date: Fri, 13 Mar 2026 10:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/weightManage/index.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/weightManage/index.vue b/src/views/weightManage/index.vue index 1420c78..3f7d71e 100644 --- a/src/views/weightManage/index.vue +++ b/src/views/weightManage/index.vue @@ -782,11 +782,8 @@ const handleNext = async () => { } // 调用后端接口获取比对结果 - vmSend(materialCode).then((res) => { - if (res.code === '0') { - compareMatchResult.value = JSON.parse(res.data?.matchResult || '') - } - }) + const res = vmSend(materialCode); + compareMatchResult.value = res.data || ''; if (compareMatchResult.value === 'success') { // 比对成功,按钮变为下一步