Commit 15624639 by 姜雷

Merge branch 'test' into 'master'

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