更新:1.课程详情增加骨架屏;2.图书首页和图书详情增加骨架屏;

This commit is contained in:
2025-12-11 16:13:40 +08:00
parent b3d9b0c100
commit b8dd0584aa
27 changed files with 897 additions and 649 deletions

View File

@@ -31,7 +31,7 @@ export function useVideoAPI() {
} catch (err: any) {
console.error('Failed to fetch video info:', err)
error.value = {
type: 'API_ERROR',
type: 'API_ERROR' as VideoErrorType,
message: err.message || '获取视频信息失败,请稍后重试'
}
return null