forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
fa3299840f
commit
92cf205c66
2 changed files with 3 additions and 1 deletions
|
@ -150,6 +150,7 @@
|
||||||
"loader-utils": "1.1.0",
|
"loader-utils": "1.1.0",
|
||||||
"lodash.assign": "4.2.0",
|
"lodash.assign": "4.2.0",
|
||||||
"mecab-async": "0.1.2",
|
"mecab-async": "0.1.2",
|
||||||
|
"merge-options": "1.0.1",
|
||||||
"minio": "7.0.0",
|
"minio": "7.0.0",
|
||||||
"mkdirp": "0.5.1",
|
"mkdirp": "0.5.1",
|
||||||
"mocha": "5.2.0",
|
"mocha": "5.2.0",
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { Line } from 'vue-chartjs';
|
import { Line } from 'vue-chartjs';
|
||||||
|
import * as mergeOptions from 'merge-options';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
extends: Line,
|
extends: Line,
|
||||||
|
@ -21,7 +22,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
render() {
|
render() {
|
||||||
this.renderChart(this.data, Object.assign({
|
this.renderChart(this.data, mergeOptions({
|
||||||
responsive: false,
|
responsive: false,
|
||||||
scales: {
|
scales: {
|
||||||
xAxes: [{
|
xAxes: [{
|
||||||
|
|
Loading…
Reference in a new issue