| | |
| | | :class="{'display_btw':$store.state.settings.menuIsHorizontal}" |
| | | :style="{background: $store.state.settings.headBackgroundColorValue? '#304156':'#fff'}" |
| | | > |
| | | |
| | | <hamburger |
| | | v-if="!$store.state.settings.menuIsHorizontal" |
| | | :is-active="sidebar.opened" |
| | | class="hamburger-container" |
| | | @toggleClick="toggleSideBar" |
| | | /> |
| | | <!-- :style="{marginLeft:$store.state.settings.menuIsHorizontal?'50px':'40px'}"--> |
| | | <!-- :style="{marginLeft:$store.state.settings.menuIsHorizontal?'20px':''}"--> |
| | | |
| | | <breadcrumb |
| | | class="breadcrumb-container" |
| | |
| | | }, |
| | | methods: { |
| | | pageRefreshClick() { |
| | | console.log('点击了!') |
| | | this.reload() |
| | | const tabViews = this.$store.state.tagsView.visitedViews.map(item => { |
| | | return { |
| | | fullPath: item.fullPath, |
| | | hash: item.hash, |
| | | meta: { ...item.meta }, |
| | | name: item.name, |
| | | params: { ...item.params }, |
| | | path: item.path, |
| | | query: { ...item.query }, |
| | | title: item.title |
| | | } |
| | | }) |
| | | sessionStorage.setItem('tabViews', JSON.stringify(tabViews)) |
| | | }, |
| | | handleSelect(key, keyPath) { |
| | | // console.log(key, keyPath) |