Update Chart.vue

pull/1578/head
Colin Bester 2021-10-04 15:37:49 -05:00 committed by GitHub
parent 32293383fa
commit 5603b44cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ export default {
* otherwise the entire data object needs to be replaced to trigger watch * otherwise the entire data object needs to be replaced to trigger watch
*/ */
data: { data: {
handler(val, oldVal) { handler() {
console.log('watch data')
this.reinit(); this.reinit();
}, },
deep: true deep: true