Commit d85308de by 姜雷

Merge branch 'develop' into 'test'

Develop See merge request !157
parents 227d18bf ea5dd48a
...@@ -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',
}, },
......
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