fix: 修复包码

This commit is contained in:
zhangds 2024-02-23 17:07:56 +08:00
parent 67daf96242
commit 23439ef566
2 changed files with 1 additions and 19 deletions

View File

@ -308,7 +308,7 @@
// 判断是否是包码逻辑
self.testGoToPack(res.data.token); // 只用测试!!!!!!!!!
//self.testGoToPack(res.data.token); // 只用测试!!!!!!!!!
if (res.data.settlement_data) {
self.goToPackKey({ token: res.data.token, settlement_data: res.data.settlement_data });
}
@ -352,12 +352,6 @@
};
let wait = await req.axiosPost('/key/loginFromMobileKey', data).then(res => {
if (res.code == 200) {
if (res.data.settlement_data) {
// 判断是否是包码逻辑
self.goToPackKey({ token: res.data.data, settlement_data: res.data.settlement_data });
}
getTokenList.push(res.data.token);
istoGoods = true;
} else {

View File

@ -66,18 +66,6 @@
</div>
</body>
<script>
// 模拟数据
// let bm_gold_obj = {
// token: "0cb6758a5523ad5ef168ae9b02f0391c",
// settlement_data: {
// is_settlement: true,
// settlement_type: 2,
// }
// }
// sessionStorage.setItem("bm_auth", JSON.stringify(bm_gold_obj));
const { createApp, ref, reactive, onMounted } = Vue;
createApp({
setup() {