优化
This commit is contained in:
@@ -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') {
|
||||
// 比对成功,按钮变为下一步
|
||||
|
||||
Reference in New Issue
Block a user