mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-07 01:46:46 +08:00
fix:增加项目、路径图获取参数type
This commit is contained in:
@@ -74,13 +74,13 @@ export default createStore({
|
||||
},
|
||||
actions: {
|
||||
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('INIT_PROJECT_INFO')
|
||||
})
|
||||
},
|
||||
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('INIT_ROUTER_INFO')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user