Commit 15624639 by 姜雷

Merge branch 'test' into 'master'

Test See merge request !160
parents 91d34aa8 ecba0777
<template>
<el-select
:class="{'no-show-last':selectedAll}"
popper-class="dashboard-area-popper"
:clearable="clearable"
:disabled="disabled"
......@@ -142,4 +143,13 @@ export default {
line-height: inherit;
}
}
.el-select.no-show-last {
.el-select__tags {
.el-tag.el-tag--info {
&:last-child {
display: none;
}
}
}
}
</style>
......@@ -33,7 +33,7 @@ export default {
container: 'SeviceRatio',
forceFit: true,
height: this.height - 30,
padding: [0, 220, 0, 0],
padding: [0, 240, 0, 0],
});
this.chart.source(this.data);
this.chart.coord('theta', {
......@@ -74,8 +74,8 @@ export default {
`;
},
'g2-legend': {
width: '215px',
'max-width': '215px',
width: '235px',
'max-width': '235px',
'max-height': this.height - 30 + 'px',
// left: '-20px',
},
......
......@@ -6,9 +6,7 @@ export default {
store.install(this.$store);
},
mounted() {
if (!this.AdminList.length) {
this.fetchAdminList();
}
},
computed: {
...mapGetters('admins', ['AdminList']),
......
export default (err, vm, info) => {
console.table([err, { info: info }]);
return false;
};
......@@ -10,6 +10,8 @@ import {
import rymUi from 'rym-element-ui';
import 'rym-element-ui/lib/rymUi.css';
import errorHandler from './errorHandler';
import HeaderImg from '../components/HeaderImg/HeaderImg.vue';
import UserWithContent from '../components/UserCard/UserWithContent.vue';
import UserCard from '../components/UserCard/UserCard.vue';
......@@ -35,6 +37,8 @@ const extendVue = Vue => {
Vue.prototype.$formatterMoneyToDouble = formatterMoneyToDouble;
Vue.prototype.$formatPrice = formatPrice;
Vue.config.errorHandler = errorHandler;
Vue.component('UserCard', UserCard);
Vue.component('UserInfo', UserInfo);
Vue.component(UserWithContent.name, UserWithContent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment