vue-chartjs reactive data error
问题 I am trying to use reactive data mixin for vue-chartjs The mounted function to set the initial data is working and I can see the chart correctly using the API response: fetchSessionTrends() { axios.get(endpoint) .then(({data}) => { this.sessions = data.map(session => session.sessions); this.sessionLabels = data.map(label => label.date); this.loaded = true; }); }, The data: data() { return { endpoint: 'public/api/sessions', sessions: [], sessionLabels: [], loaded: false, daysFilter: 14 }; }, I