Explorar el Código

优化 获取微信授权code

test
chenJinxu hace 9 meses
padre
commit
689988b491
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      src/views/card-info/index.vue

+ 4
- 1
src/views/card-info/index.vue Ver fichero

@@ -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();
}
})
},


Cargando…
Cancelar
Guardar