diff --git a/src/views/weightManage/index.vue b/src/views/weightManage/index.vue
index fe3fb9d..7edb1a3 100644
--- a/src/views/weightManage/index.vue
+++ b/src/views/weightManage/index.vue
@@ -250,14 +250,37 @@
>
上一步
-
- {{ activeStep === 2 ? '完成' : (compareMatchResult === 'success' ? '下一步' : '开始比对') }}
-
+
+
+
+ 开始比对
+
+
+
+ 下一步
+
+
+
+ 完成
+
+
@@ -727,19 +750,19 @@ const handleNext = async () => {
}
// 调用后端接口获取比对结果 // todo
- const res = await vmSend(materialCode);
- if (res.data) {
- compareMatchResult.value = res.data
- if (res.data === 'success') {
- Message.success('比对成功')
- } else {
- Message.error('比对失败')
- }
- } else {
- // 比对失败,提示错误
- Message.error('比对数据异常')
- }
- // compareMatchResult.value = 'success'
+ // const res = await vmSend(materialCode);
+ // if (res.data) {
+ // compareMatchResult.value = res.data
+ // if (res.data === 'success') {
+ // Message.success('比对成功')
+ // } else {
+ // Message.error('比对失败')
+ // }
+ // } else {
+ // // 比对失败,提示错误
+ // Message.error('比对数据异常')
+ // }
+ compareMatchResult.value = 'success'
} catch (error) {
console.error('比对失败:', error)
Message.error('相机异常,请重试')