Update Chart.vue
parent
32293383fa
commit
5603b44cd5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue