更新:1.课程详情增加骨架屏;2.图书首页和图书详情增加骨架屏;
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user