|
@@ -327,10 +327,9 @@ export default {
|
|
|
if (this.oloading) return;
|
|
|
|
|
|
this.oloading = true;
|
|
|
- const params = { code, time: Date.now() }; // 添加时间参数
|
|
|
|
|
|
try {
|
|
|
- const res = await axios.get(`//weixin.cocorobo.cn/login.php`, params); // 将params作为请求参数,并禁用预加载
|
|
|
+ const res = await axios.get(`//weixin.cocorobo.cn/login.php?code=${code}&time=${Date.now()}`); // 将params作为请求参数,并禁用预加载
|
|
|
const data = res.data[0];
|
|
|
console.log("data", data);
|
|
|
this.loginType = 'bind';
|