From 123fbe5f289694bae533d93c2b6f8bde6ae22b3f Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 3 Mar 2023 10:26:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E3=80=81=E8=B7=AF=E5=BE=84=E5=9B=BE=E8=8E=B7=E5=8F=96=E5=8F=82?= =?UTF-8?q?=E6=95=B0type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 392ef9f..bcf7d5d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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') })