Browse Source

Merge branch 'feat' into develop

pull/2/head
JinxChen 1 year ago
parent
commit
b5a85f7a32
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/views/card-info/index.vue

+ 2
- 2
src/views/card-info/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2022-04-15 10:22:36 * @Date: 2022-04-15 10:22:36
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-04-17 11:36:29
* @LastEditTime: 2023-04-17 14:18:15
* @FilePath: \TelpoH5FrontendWeb\src\views\card-info\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\card-info\index.vue
* @description: * @description:
--> -->
@@ -125,6 +125,7 @@ export default {
getParams() { getParams() {
let params = this.$route.query; let params = this.$route.query;
if (params) { if (params) {
this.params = {...params};
let url = window.location.href.split("?code=")[1]; let url = window.location.href.split("?code=")[1];
if ( isNotNull(url) || window.location.href.indexOf("code") > -1) { if ( isNotNull(url) || window.location.href.indexOf("code") > -1) {
let timeStamp = new Date().getTime(); let timeStamp = new Date().getTime();
@@ -140,7 +141,6 @@ export default {
} else { } else {
this.getWxCode(); this.getWxCode();
} }
this.params = {...params};
} }
}, },
getWxCode() { getWxCode() {


Loading…
Cancel
Save