fix:修复报错
This commit is contained in:
parent
68f3652935
commit
49a55c6c26
9
src/api/modules/userCenter.ts
Normal file
9
src/api/modules/userCenter.ts
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// 学员中心相关API接口
|
||||||
|
import { ApiRequest } from '../request'
|
||||||
|
|
||||||
|
|
||||||
|
export class ActivityListApi {
|
||||||
|
static async getActivityList(): Promise<any> {
|
||||||
|
return ApiRequest.get('/aiol/aiolActivity/list')
|
||||||
|
}
|
||||||
|
}
|
@ -642,7 +642,7 @@ const handleUserMenuSelect = (key: string) => {
|
|||||||
case 'courses':
|
case 'courses':
|
||||||
// 跳转到我的课程
|
// 跳转到我的课程
|
||||||
router.push('/profile/courses').then(() => {
|
router.push('/profile/courses').then(() => {
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case 'purchase':
|
case 'purchase':
|
||||||
@ -658,7 +658,7 @@ const handleUserMenuSelect = (key: string) => {
|
|||||||
case 'profile':
|
case 'profile':
|
||||||
router.push('/profile').then(() => {
|
router.push('/profile').then(() => {
|
||||||
// 检查sessionStorage中是否已有刷新标志
|
// 检查sessionStorage中是否已有刷新标志
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case 'teacher':
|
case 'teacher':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user