Przeglądaj źródła

优化 获取微信授权code

test
chenJinxu 9 miesięcy temu
rodzic
commit
689988b491
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      src/views/card-info/index.vue

+ 4
- 1
src/views/card-info/index.vue Wyświetl plik

@@ -200,12 +200,15 @@ export default {
console.log("token过期");
let hasToken = await this.getToken();
if (hasToken) {
this.getOpenId(this.code);
/* this.getOpenId(this.code); */
this.getWxCode();
} else {
this.$dialog({
message: '系统繁忙,请重新进入'
})
}
} else {
this.getWxCode();
}
})
},


Ładowanie…
Anuluj
Zapisz