|
@@ -140,7 +140,7 @@ import { mapActions } from "vuex";
|
|
|
import axios from "axios";
|
|
|
import qs from "qs";
|
|
|
import { API_CONFIG } from "@/common/apiConfig";
|
|
|
-import '@/common/wxLogin'
|
|
|
+import '@/common/wxLogin';
|
|
|
|
|
|
export default {
|
|
|
name: "loginPage",
|
|
@@ -330,7 +330,7 @@ export default {
|
|
|
const params = { code, time: Date.now() }; // 添加时间参数
|
|
|
|
|
|
try {
|
|
|
- const res = await this.$ajax.get(`https://weixin.cocorobo.cn/login.php`, params); // 将params作为请求参数,并禁用预加载
|
|
|
+ const res = await axios.get(`//weixin.cocorobo.cn/login.php`, params); // 将params作为请求参数,并禁用预加载
|
|
|
const data = res.data[0];
|
|
|
console.log("data", data);
|
|
|
this.loginType = 'bind';
|