瀏覽代碼

Merge branch 'merge-master'

master
JinxChen 1 年之前
父節點
當前提交
fe60311a95
共有 1 個檔案被更改,包括 5 行新增9 行删除
  1. +5
    -9
      src/views/package-home/index.vue

+ 5
- 9
src/views/package-home/index.vue 查看文件

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2023-02-24 14:18:25 * @Date: 2023-02-24 14:18:25
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-04-15 12:57:35
* @LastEditTime: 2023-04-15 13:53:30
* @FilePath: \TelpoH5FrontendWeb\src\views\package-home\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\package-home\index.vue
* @description: * @description:
--> -->
@@ -29,7 +29,6 @@ export default {
/* this.getToken(); */ /* this.getToken(); */
this.getAuth(); this.getAuth();
this.getParams(); this.getParams();
this.checkImei();
}, },
methods: { methods: {
checkImei() { checkImei() {
@@ -38,10 +37,9 @@ export default {
iccid: this.params.iccid || '' iccid: this.params.iccid || ''
}; };
APIWx.CheckImei(reqBody).then(res =>{ APIWx.CheckImei(reqBody).then(res =>{
let data = res.data;
if(data) {
this.isRecharge = data.isRecharge;
};
console.log("res", res.data.isRecharge);
this.isRecharge = res.data.isRecharge;
this.getWxCode();
}).catch(e => { }).catch(e => {
console.log("e", e.message); console.log("e", e.message);
}) })
@@ -135,11 +133,9 @@ export default {
this.$store.commit("appId", AppId); this.$store.commit("appId", AppId);
if(params.reqUrl) { if(params.reqUrl) {
const reqUrl = encodeURI(params.reqUrl); const reqUrl = encodeURI(params.reqUrl);
console.log("reqUrl", params.reqUrl, reqUrl);
window.location.href = reqUrl; window.location.href = reqUrl;
} else { } else {
console.log("不存在redUrl");
this.checkBrowser();
this.checkImei();
} }
console.log("this.params", this.params); console.log("this.params", this.params);
} }


Loading…
取消
儲存