feat: 添加加载组件并优化团队详情页加载体验

- 新增Loading组件用于全局加载状态显示
- 在团队详情页添加加载状态提示
- 优化API请求时的加载状态管理
- 更新axios基础URL配置
This commit is contained in:
2025-08-13 10:47:18 +08:00
parent d6a4ff3843
commit 233b7311fe
3 changed files with 277 additions and 103 deletions

View File

@@ -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'