统一tab切换文件的格式

init
zhusiyu 3 years ago
parent d3f22c72dd
commit df35201b38

@ -35,6 +35,7 @@
import {DatePicker, Icon, Select} from 'ant-design-vue'; import {DatePicker, Icon, Select} from 'ant-design-vue';
import moment from 'moment'; import moment from 'moment';
import interConfig from './interConfig'; import interConfig from './interConfig';
export default { export default {
data() { data() {
return { return {
@ -129,7 +130,8 @@
/*display: flex;*/ /*display: flex;*/
/*align-items: center;*/ /*align-items: center;*/
/deep/ .ant-select { /deep/ .ant-select {
width: 85px !important; margin-right: 15px !important;
width: 100px !important;
float: right !important; float: right !important;
z-index: 8888; z-index: 8888;
.ant-select-selection { .ant-select-selection {

@ -14,7 +14,8 @@
<div>{{item[showName]}}</div> <div>{{item[showName]}}</div>
<a-menu slot="overlay"> <a-menu slot="overlay">
<a-menu-item v-for="child in item.children" :key="child[cbName]"> <a-menu-item v-for="child in item.children" :key="child[cbName]">
<div v-on:click="clickChild(index,child)" :title="child[showName]">{{child[showName]}}</div> <div v-on:click="clickChild(index,child)" :title="child[showName]">{{child[showName]}}
</div>
</a-menu-item> </a-menu-item>
</a-menu> </a-menu>
</a-dropdown> </a-dropdown>
@ -37,6 +38,7 @@
* *
* */ * */
import {Icon, Dropdown, Menu} from 'ant-design-vue'; import {Icon, Dropdown, Menu} from 'ant-design-vue';
export default { export default {
data() { data() {
return { return {
@ -196,6 +198,7 @@
} }
} }
} }
.more-tab-dropdown-div { .more-tab-dropdown-div {
max-height: 10rem !important; max-height: 10rem !important;
overflow-y: auto; overflow-y: auto;

Loading…
Cancel
Save