diff --git a/src/main.js b/src/main.js index 1ac05e08..82128eca 100644 --- a/src/main.js +++ b/src/main.js @@ -9,7 +9,7 @@ import store from './store'; import router from './router'; import directive from './directive'; // directive import plugins from './plugins'; // plugins -// import { scrollBoard } from '@jiaminghi/data-view' +import { scrollBoard } from '@jiaminghi/data-view' import './assets/icons'; // icon import './permission'; // permission control @@ -79,7 +79,7 @@ Vue.use(CodeBrickZj) Vue.use(directive); Vue.use(plugins); Vue.use(VueMeta); -// Vue.use(scrollBoard) +Vue.use(scrollBoard) // Vue.use(hljs.vuePlugin); import scroll from 'vue-seamless-scroll' Vue.use(scroll) diff --git a/src/views/databoard/components/NumRateChart.vue b/src/views/databoard/components/NumRateChart.vue index 77b74890..15ed3a41 100644 --- a/src/views/databoard/components/NumRateChart.vue +++ b/src/views/databoard/components/NumRateChart.vue @@ -29,7 +29,7 @@ export default { if (newVal === oldVal) { return false } - this.updateChart() + // this.updateChart() } } },