fix:增加项目、路径图获取参数type

This commit is contained in:
wyx
2023-03-03 10:26:32 +08:00
parent 2ebc17e3bb
commit 123fbe5f28

View File

@@ -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')
})