mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:03:08 +02:00
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",
|
||||
"lodash.assign": "4.2.0",
|
||||
"mecab-async": "0.1.2",
|
||||
"merge-options": "1.0.1",
|
||||
"minio": "7.0.0",
|
||||
"mkdirp": "0.5.1",
|
||||
"mocha": "5.2.0",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import Vue from 'vue';
|
||||
import { Line } from 'vue-chartjs';
|
||||
import * as mergeOptions from 'merge-options';
|
||||
|
||||
export default Vue.extend({
|
||||
extends: Line,
|
||||
|
@ -21,7 +22,7 @@ export default Vue.extend({
|
|||
},
|
||||
methods: {
|
||||
render() {
|
||||
this.renderChart(this.data, Object.assign({
|
||||
this.renderChart(this.data, mergeOptions({
|
||||
responsive: false,
|
||||
scales: {
|
||||
xAxes: [{
|
||||
|
|
Loading…
Reference in a new issue