fix bugs grid on popup
This commit is contained in:

parent
85a14633be
commit
20211168e9
@ -104,7 +104,9 @@
|
||||
:items="treevieItems" activatable hoverable color="#3896ff" open-on-click @update:open="openNode">
|
||||
<template slot="label" slot-scope="{ item }">
|
||||
<button :class="{ 'justify-center': miniVariant }" @mouseover="doMouseOver">
|
||||
|
||||
<!-- <span v-if="['MNU0065', 'MNU0027'].includes(item.menuId)" >
|
||||
{{ item }}
|
||||
</span> -->
|
||||
<v-icon
|
||||
v-if="item.lvl === 1 && menuIconKeys.includes(item.menuId)"
|
||||
:class="{ 'mr-2': !miniVariant }"
|
||||
@ -142,8 +144,12 @@
|
||||
</v-navigation-drawer>
|
||||
</div>
|
||||
|
||||
<v-col>
|
||||
<router-tab ref="routerTab" :tabs="treevieItems" :keep-last-tab="false" :contextmenu="false">
|
||||
<v-col :class="`${isDarkMode ? 'dark' : 'light'}`">
|
||||
<router-tab ref="routerTab"
|
||||
:tabs="treevieItems"
|
||||
:keep-last-tab="false"
|
||||
:contextmenu="false"
|
||||
>
|
||||
<template slot-scope="{ title, closable, to, base }">
|
||||
<span>{{ title }}</span>
|
||||
<v-icon size="20" class="ml-2" v-if="closable" @click.stop="onCloseTab(to)">mdi-close</v-icon>
|
||||
@ -700,4 +706,17 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '@/assets/scss/layout.scss';
|
||||
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.light .router-tab .router-tab__header {
|
||||
background-color: #fff;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.dark .router-tab .router-tab__header {
|
||||
background-color: #212224;
|
||||
border-color: #212224;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user