Procházet zdrojové kódy

Merge branch 'feat' into test

test
JinxChen před 2 roky
rodič
revize
8846e0bc7b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/views/card-info/index.vue

+ 2
- 2
src/views/card-info/index.vue Zobrazit soubor

@@ -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() {


Načítá se…
Zrušit
Uložit