mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-16 14:26:47 +08:00
feat:增加路径图详情关卡预览判断
This commit is contained in:
@@ -79,8 +79,8 @@ export default createStore({
|
||||
content.commit('INIT_PROJECT_INFO')
|
||||
})
|
||||
},
|
||||
getRouterInfo(content, {routerId}) {
|
||||
request(ROUTER_PROCESS, {routerId,type:2}).then(res => {
|
||||
getRouterInfo(content, {routerId,chapterId}) {
|
||||
request(ROUTER_PROCESS, chapterId?{routerId,type:2,chapterId}:{routerId,type:2}).then(res => {
|
||||
content.commit('SET_ROUTER_INFO', res.data)
|
||||
content.commit('INIT_ROUTER_INFO')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user