htc il y a 1 an
Parent
commit
c54d8e1b57
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      pagesHouse/Verification/check.vue

+ 2 - 2
pagesHouse/Verification/check.vue

@@ -125,7 +125,7 @@
 					success: (res) => {
 						console.log('扫码结果:' + res.result);
 						// 扫码成功后的操作,例如:
-						that.handleScanResult(res.result, type);
+						that.handleScanResult(res.result, type, '');
 					},
 					fail: (err) => {
 						console.error('扫码失败:' + err);
@@ -133,7 +133,7 @@
 				});
 			},
 			// 处理扫码结果的函数,可以根据实际需求进行扩展
-			handleScanResult(result, type) {
+			handleScanResult(result, type, name) {
 				// 例如:导航到某个页面,或者处理其他业务逻辑
 				let sendData = {};
 				sendData.playDate = this.orderInfo.playDate;