From 02e506c7d6e18be0d2c51bedd50fcaffda5d7dca Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Thu, 11 Jan 2024 14:31:23 +0800 Subject: [PATCH] 1 --- src/main.js | 4 ++-- src/views/databoard/components/NumRateChart.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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() } } },