|
@@ -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;
|