feat: 添加加载组件并优化团队详情页加载体验
- 新增Loading组件用于全局加载状态显示 - 在团队详情页添加加载状态提示 - 优化API请求时的加载状态管理 - 更新axios基础URL配置
This commit is contained in:
@@ -5,7 +5,7 @@ import { useUserStore } from '@/stores/user'
|
||||
|
||||
// 创建axios实例
|
||||
const service = axios.create({
|
||||
baseURL: 'http://192.168.15.53:8890' || '', // API基础路径,支持完整URL
|
||||
baseURL: 'http://192.168.15.51:8890' || '', // API基础路径,支持完整URL
|
||||
timeout: 30000, // 请求超时时间
|
||||
headers: {
|
||||
'Content-Type': 'application/json;charset=UTF-8'
|
||||
|
||||
Reference in New Issue
Block a user