diff --git a/src/api/myAxios.ts b/src/api/myAxios.ts index 62ab694..0a72ae1 100644 --- a/src/api/myAxios.ts +++ b/src/api/myAxios.ts @@ -6,6 +6,8 @@ const myAxios = axios.create({ withCredentials:true, baseURL: 'http://localhost:9092/api' // baseURL: 'http://123.249.108.160:8888/api' //测试服务器 + // baseURL: 'http://154.8.193.216:9092/api', //隋雨霏服务器 + // baseURL: 'http://154.8.193.216:9093/api' //隋雨霏服务器测试环境 }); // 添加请求拦截器 axios.interceptors.request.use(function (config) { diff --git a/src/layout/Manage.vue b/src/layout/Manage.vue index 096e8ff..c90e215 100644 --- a/src/layout/Manage.vue +++ b/src/layout/Manage.vue @@ -1,7 +1,5 @@ - - - + .scrollbar-demo-item { + display: flex; + align-items: center; + justify-content: center; + height: 400px; + margin: 10px; + padding:30px; + width:300px; + text-align: left; + border-radius: 4px; + background: var(--el-color-primary-light-9); + color: var(--el-color-primary); + border:5px solid #0094ff; + } + \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 5c45e1d..28c5e0f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,6 +5,7 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ + base: './', plugins: [ vue(), ],