fix:修复报错

This commit is contained in:
yuk255 2025-10-09 14:52:18 +08:00
parent 68f3652935
commit 49a55c6c26
2 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,9 @@
// 学员中心相关API接口
import { ApiRequest } from '../request'
export class ActivityListApi {
static async getActivityList(): Promise<any> {
return ApiRequest.get('/aiol/aiolActivity/list')
}
}

View File

@ -642,7 +642,7 @@ const handleUserMenuSelect = (key: string) => {
case 'courses':
//
router.push('/profile/courses').then(() => {
window.location.reload();
// window.location.reload();
})
break
case 'purchase':
@ -658,7 +658,7 @@ const handleUserMenuSelect = (key: string) => {
case 'profile':
router.push('/profile').then(() => {
// sessionStorage
window.location.reload();
// window.location.reload();
})
break
case 'teacher':