diff --git a/.svn/wc.db b/.svn/wc.db index d26bc43..3e9c0d5 100644 Binary files a/.svn/wc.db and b/.svn/wc.db differ diff --git a/src/components/polylineChart/index.vue b/src/components/polylineChart/index.vue index 308ec54..20df07f 100644 --- a/src/components/polylineChart/index.vue +++ b/src/components/polylineChart/index.vue @@ -42,6 +42,11 @@ export default { } }, watch: { + data (d) { + const { draw } = this + + d && draw() + } }, methods: { async init () { diff --git a/src/components/scrollBoard/index.vue b/src/components/scrollBoard/index.vue index 43f69a4..48664b4 100644 --- a/src/components/scrollBoard/index.vue +++ b/src/components/scrollBoard/index.vue @@ -44,7 +44,7 @@