From 59c0e744c3d8a825237d6be3d537e0b83f8b697c Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Thu, 2 Apr 2026 22:27:29 +0800 Subject: [PATCH] fix(dashboard): use @/utils/request instance of axios globally --- dashboard/src/components/shared/ConsoleDisplayer.vue | 2 +- dashboard/src/stores/auth.ts | 2 +- dashboard/src/views/ConversationPage.vue | 2 +- dashboard/src/views/ProviderPage.vue | 2 +- dashboard/src/views/knowledge-base/KBList.vue | 2 +- dashboard/src/views/stats/StatsPage.vue | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dashboard/src/components/shared/ConsoleDisplayer.vue b/dashboard/src/components/shared/ConsoleDisplayer.vue index d69feea39..42048fd9d 100644 --- a/dashboard/src/components/shared/ConsoleDisplayer.vue +++ b/dashboard/src/components/shared/ConsoleDisplayer.vue @@ -1,6 +1,6 @@ diff --git a/dashboard/src/stores/auth.ts b/dashboard/src/stores/auth.ts index ee3e49d03..401f25548 100644 --- a/dashboard/src/stores/auth.ts +++ b/dashboard/src/stores/auth.ts @@ -1,6 +1,6 @@ import { defineStore } from "pinia"; import { router } from "@/router"; -import axios from "axios"; +import axios from "@/utils/request"; export const useAuthStore = defineStore("auth", { state: () => ({ diff --git a/dashboard/src/views/ConversationPage.vue b/dashboard/src/views/ConversationPage.vue index 95a7c90e8..c4443e324 100644 --- a/dashboard/src/views/ConversationPage.vue +++ b/dashboard/src/views/ConversationPage.vue @@ -368,7 +368,7 @@