Ver Fonte

初始化--版本消防版

plg há 3 semanas atrás
pai
commit
2e645796f7
3 ficheiros alterados com 5 adições e 4 exclusões
  1. 1 1
      src/router/index.ts
  2. 2 2
      src/utils/http.ts
  3. 2 1
      vite.config.ts

+ 1 - 1
src/router/index.ts

@@ -132,7 +132,7 @@ const routes = [
 ]
 const router = createRouter({
   // history: createWebHistory(import.meta.env.BASE_URL),
-  history: createWebHistory("/highLevelIntellectual/"),
+  history: createWebHistory("/fireBrigade/"),
   //highLevelIntellectual
   // history: createWebHistory('/pc/'),
   routes

+ 2 - 2
src/utils/http.ts

@@ -35,9 +35,9 @@ const menuStatus = menuStatusStore()
 //新服务器
 // const base_url = 'http://123.57.18.29:8089'
 //第二个版本
-export const base_url = 'http://123.57.18.29:8090'
+// export const base_url = 'http://123.57.18.29:8090'
 //第二个版本
-// export const base_url = 'http://129.211.221.44:8090'
+export const base_url = 'http://129.211.221.44:8092'
 
 
 //设置axios 默认访问路径

+ 2 - 1
vite.config.ts

@@ -6,7 +6,8 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  base: '/highLevelIntellectual/',
+  // base: '/highLevelIntellectual/',
+  base: '/fireBrigade/',
   css: {
     preprocessorOptions: {
       scss: {