update 面包屑,页面样式
This commit is contained in:
@@ -4,21 +4,23 @@
|
||||
<!-- update-begin- author:sunjianlei --- date:20191009 --- for: 提升右键菜单的层级 -->
|
||||
<contextmenu :itemList="menuItemList" :visible.sync="menuVisible" style="z-index: 9999;" @select="onMenuSelect" />
|
||||
<!-- update-end- author:sunjianlei --- date:20191009 --- for: 提升右键菜单的层级 -->
|
||||
<a-tabs
|
||||
@contextmenu.native="e => onContextmenu(e)"
|
||||
v-if="multipage"
|
||||
:active-key="activePage"
|
||||
class="tab-layout-tabs"
|
||||
style="height:52px"
|
||||
:hide-add="true"
|
||||
type="editable-card"
|
||||
@change="changePage"
|
||||
@tabClick="tabCallBack"
|
||||
@edit="editPage">
|
||||
<a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList">
|
||||
<span slot="tab" :pagekey="page.fullPath">{{ page.meta.title }}</span>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
<!--<a-tabs-->
|
||||
<!-- @contextmenu.native="e => onContextmenu(e)"-->
|
||||
<!-- v-if="multipage"-->
|
||||
<!-- :active-key="activePage"-->
|
||||
<!-- class="tab-layout-tabs"-->
|
||||
<!-- style="height:52px"-->
|
||||
<!-- :hide-add="true"-->
|
||||
<!-- type="editable-card"-->
|
||||
<!-- @change="changePage"-->
|
||||
<!-- @tabClick="tabCallBack"-->
|
||||
<!-- @edit="editPage">-->
|
||||
<!-- <a-tab-pane :id="page.fullPath" :key="page.fullPath" v-for="page in pageList">-->
|
||||
<!-- <span slot="tab" :pagekey="page.fullPath">{{ page.meta.title }}</span>-->
|
||||
<!-- </a-tab-pane>-->
|
||||
<!--</a-tabs>-->
|
||||
|
||||
<breadcrumb/>
|
||||
<div style="margin: 12px 12px 0;">
|
||||
<!-- update-begin-author:taoyan date:20201221 for:此处删掉transition标签 不知道为什么加上后 页面路由切换的时候即1及菜单切到2及菜单的时候 两个菜单页面会同时出现300-500秒左右 -->
|
||||
<keep-alive v-if="multipage">
|
||||
@@ -42,6 +44,7 @@ import { triggerWindowResizeEvent } from '@/utils/util'
|
||||
import Vue from 'vue'
|
||||
import { CACHE_INCLUDED_ROUTES } from '@/store/mutation-types'
|
||||
import BlankLayout from './BlankLayout.vue'
|
||||
import Breadcrumb from '../tools/Breadcrumb.vue'
|
||||
|
||||
const indexKey = '/'
|
||||
|
||||
@@ -50,7 +53,8 @@ export default {
|
||||
components: {
|
||||
BlankLayout,
|
||||
GlobalLayout,
|
||||
Contextmenu
|
||||
Contextmenu,
|
||||
Breadcrumb
|
||||
},
|
||||
mixins: [mixin, mixinDevice],
|
||||
data () {
|
||||
|
||||
Reference in New Issue
Block a user