add 工作中心-流程配置
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<!-- </a-tab-pane>-->
|
||||
<!--</a-tabs>-->
|
||||
|
||||
<breadcrumb/>
|
||||
<breadcrumb v-if="!isEmbedded"/>
|
||||
<div style="margin: 12px 12px 0;">
|
||||
<!-- update-begin-author:taoyan date:20201221 for:此处删掉transition标签 不知道为什么加上后 页面路由切换的时候即1及菜单切到2及菜单的时候 两个菜单页面会同时出现300-500秒左右 -->
|
||||
<keep-alive v-if="multipage">
|
||||
@@ -45,6 +45,7 @@ import Vue from 'vue'
|
||||
import { CACHE_INCLUDED_ROUTES } from '@/store/mutation-types'
|
||||
import BlankLayout from './BlankLayout.vue'
|
||||
import Breadcrumb from '../tools/Breadcrumb.vue'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
const indexKey = '/'
|
||||
|
||||
@@ -91,7 +92,11 @@ export default {
|
||||
// 是否外部打开
|
||||
isInternalOrExternal () {
|
||||
return this.$route.meta.internalOrExternal
|
||||
}
|
||||
},
|
||||
...mapState({
|
||||
// 是否嵌入在别的系统中
|
||||
isEmbedded: state => state.app.isEmbedded
|
||||
})
|
||||
},
|
||||
created () {
|
||||
console.log(this.$route)
|
||||
|
||||
@@ -103,7 +103,7 @@ const updatePageHeight = () => {
|
||||
const isEmbedded = store.getters.isEmbedded
|
||||
const obj = {
|
||||
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
|
||||
'breadcrumb-height': '45px' // 面包屑的高度
|
||||
'breadcrumb-height': isEmbedded ? '12px' : '45px' // 面包屑的高度
|
||||
}
|
||||
for (const key in obj) {
|
||||
document
|
||||
|
||||
Reference in New Issue
Block a user