Explorar el Código

修改代理地址

tongshangming hace 3 años
padre
commit
c005d72ccc
Se han modificado 3 ficheros con 2 adiciones y 3 borrados
  1. 1 1
      .env.development
  2. 0 1
      src/components/GlobalTabs.vue
  3. 1 1
      src/stores/user.ts

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
 NODE_ENV = 'development'
 
 VITE_BASE_API = /apiSys
-VITE_BASE_PATH = https://blue.sxidc.com
+VITE_BASE_PATH = 

+ 0 - 1
src/components/GlobalTabs.vue

@@ -110,7 +110,6 @@ const closeRight = () => {
 }
 
 const closeOther = () => {
-  console.log(contextMenuItem, contextMenuIndex.value)
   router.push(contextMenuItem.value)
   if (contextMenuIndex.value) {
     tabs.value = [tabs.value[0], contextMenuItem.value]

+ 1 - 1
src/stores/user.ts

@@ -1,5 +1,5 @@
 import router from '@/router'
-import { login, getUserInfo } from '@/api/user'
+import { login } from '@/api/user'
 
 export const useUserStore = defineStore({
   id: 'user',