This commit is contained in:
zc
2026-03-13 10:43:33 +08:00
parent 22747f7c87
commit 37369a8e9a

View File

@@ -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') {
// 比对成功,按钮变为下一步