admin/src/store/index.js @@ -38,6 +38,10 @@ } }, clearUserInfo: (state) => { state.userInfo = null }, // 设置首页路由信息 setHomePage (state, homePage) { state.homePage = homePage