diff --git a/src/composables/useConfig.ts b/src/composables/useConfig.ts index 9fc836f..10e79e4 100644 --- a/src/composables/useConfig.ts +++ b/src/composables/useConfig.ts @@ -2,9 +2,9 @@ import { defineStore } from "pinia"; import { ref } from "vue"; export const useConfig = defineStore('config', () => { - const BASE_URL = ref("http://service5.fenshenzhike.com:1218/api/"); + const BASE_URL = ref("https://service5.fenshenzhike.com:1218/api/"); // const BASE_URL = ref("http://localhost:1218/api/"); return { BASE_URL } -}) \ No newline at end of file +})  \ No newline at end of file diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue index ca9a5af..f193141 100644 --- a/src/pages/my/index.vue +++ b/src/pages/my/index.vue @@ -26,7 +26,6 @@ async function loadUserInfo() { }) const res = await BussApi.profile(user.token!) toast.close() - console.log(res) user.userinfo = res userInfo.value = res } catch (error: any) {