diff --git a/src/views/card-info/index.vue b/src/views/card-info/index.vue index b92fe0c..1011211 100644 --- a/src/views/card-info/index.vue +++ b/src/views/card-info/index.vue @@ -1,7 +1,7 @@ @@ -125,6 +125,7 @@ export default { getParams() { let params = this.$route.query; if (params) { + this.params = {...params}; let url = window.location.href.split("?code=")[1]; if ( isNotNull(url) || window.location.href.indexOf("code") > -1) { let timeStamp = new Date().getTime(); @@ -140,7 +141,6 @@ export default { } else { this.getWxCode(); } - this.params = {...params}; } }, getWxCode() {