fix: 修改包码结算判断逻辑
This commit is contained in:
parent
6c03b1ed5e
commit
14325ee48e
|
@ -164,7 +164,7 @@
|
|||
localStorage.setItem('haskey', keyCode);
|
||||
|
||||
// 判断是否是包码逻辑
|
||||
self.goToPackKey({ token: res.data.token, key: keyCode, settlement_data: res.data.settlement_data });
|
||||
self.goToPackKey({ token: res.data.token, settlement_data: res.data.settlement_data });
|
||||
|
||||
|
||||
this.openDialog('正在加载商品...');
|
||||
|
@ -227,7 +227,6 @@
|
|||
sessionStorage.setItem("bm_auth", JSON.stringify(data));
|
||||
// 跳转包码页面
|
||||
window.location.href = './packkey/goods-index.html';
|
||||
return
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -290,7 +289,7 @@
|
|||
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
|
||||
|
||||
// 判断是否是包码逻辑
|
||||
self.goToPackKey({ token: res.data.token, key: self.key, settlement_data: res.data.settlement_data });
|
||||
self.goToPackKey({ token: res.data.token, settlement_data: res.data.settlement_data });
|
||||
|
||||
// 存储
|
||||
setTimeout(() => {
|
||||
|
@ -332,7 +331,7 @@
|
|||
let wait = await req.axiosPost('/key/loginFromMobileKey', data).then(res => {
|
||||
if (res.code == 200) {
|
||||
// 判断是否是包码逻辑
|
||||
self.goToPackKey({ token: res.data.data, key: self.key, settlement_data: res.data.settlement_data });
|
||||
self.goToPackKey({ token: res.data.data, settlement_data: res.data.settlement_data });
|
||||
|
||||
|
||||
getTokenList.push(res.data.token);
|
||||
|
|
Loading…
Reference in New Issue