|
@@ -438,6 +438,8 @@ export default {
|
|
|
|
|
|
// 运单号扫描
|
|
|
async wxScanCode() {
|
|
|
+ window.location.href = location.protocol + '//' + location.host + '/#/Express'
|
|
|
+ console.log(location.protocol + '//' + location.host + '/#/Express')
|
|
|
console.log('123456')
|
|
|
wx.scanQRCode({
|
|
|
needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
|
|
@@ -452,6 +454,7 @@ export default {
|
|
|
this.waybillNo = result
|
|
|
},
|
|
|
error: function (res) {
|
|
|
+ window.location.href = location.protocol + '//' + location.host + '/#/Express'
|
|
|
console.log(res, 'error++++++++++');
|
|
|
}
|
|
|
});
|