From 583691266f48f4cd81d071d58d25cbd9157f3c4d Mon Sep 17 00:00:00 2001 From: Hvemi_han Date: Mon, 20 Jan 2025 15:35:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20http=E4=BF=AE=E6=94=B9=E4=B8=BAhttps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/useConfig.ts | 4 ++-- src/pages/my/index.vue | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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) {