Commit 77591904 authored by jingnan's avatar jingnan 👀

进入APP默认显示菜单

parent d7f38f49
......@@ -210,6 +210,7 @@ export default {
},
goHome() {
this.$router.push(`/`)
this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
},
back() {
this.$router.push('/navigation')
......
......@@ -21,7 +21,7 @@
v-show="!['系统管理','应用中心','安全中心','运维中心'].includes(activeModel.name)"
ref="homeLink"
class="home tags-view-item"
:to="{ path: '/'}"
:to="{ path: '/',query:{showMenu:false}}"
tag="span"
>
<i class="el-icon-s-home" />
......
......@@ -39,7 +39,6 @@ axios.interceptors.request.use(
return config.url.includes(el)
})
if (!disLoading) {
console.log(12121)
loadingInstance = Loading.service({
fullscreen: true,
background: 'rgba(0, 0, 0, 0.0)'
......
......@@ -234,6 +234,7 @@ export default {
toPage.query.menuRootAppId = app.id
localStorage.setItem('moduleName', app.title)
this.$router.push(toPage)
this.$store.dispatch('app/openSideBar', { withoutAnimation: false })
},
getActiveTab(menus) {
for (let i = 0; i < menus.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment