mirror of
https://gitee.com/lyt-top/vue-next-admin
synced 2026-07-06 21:45:37 +08:00
'admin-21.03.15:添加开发/线上环境配置.env、修复tagsView页面设置隐藏时不显示的问题'
This commit is contained in:
@ -5,7 +5,7 @@ import router, { resetRoute } from '/@/router/index.ts';
|
||||
|
||||
// 配置新建一个 axios 实例
|
||||
const service = axios.create({
|
||||
baseURL: 'http://localhost:10000/',
|
||||
baseURL: import.meta.env.VITE_API_URL as any,
|
||||
timeout: 50000,
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user