mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-08 02:16:47 +08:00
fix:增加项目、路径图获取参数type
This commit is contained in:
@@ -74,13 +74,13 @@ export default createStore({
|
|||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
getProjectInfo(content, {projectId}) {
|
getProjectInfo(content, {projectId}) {
|
||||||
request(PROJECT_PROCESS, {projectId}).then(res => {
|
request(PROJECT_PROCESS, {projectId,type:1}).then(res => {
|
||||||
content.commit('SET_PROJECT_INFO', res.data)
|
content.commit('SET_PROJECT_INFO', res.data)
|
||||||
content.commit('INIT_PROJECT_INFO')
|
content.commit('INIT_PROJECT_INFO')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getRouterInfo(content, {routerId}) {
|
getRouterInfo(content, {routerId}) {
|
||||||
request(ROUTER_PROCESS, {routerId}).then(res => {
|
request(ROUTER_PROCESS, {routerId,type:2}).then(res => {
|
||||||
content.commit('SET_ROUTER_INFO', res.data)
|
content.commit('SET_ROUTER_INFO', res.data)
|
||||||
content.commit('INIT_ROUTER_INFO')
|
content.commit('INIT_ROUTER_INFO')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user