GeoffZhu/vue-event-calendar

How to change the background color dynamically

empty-back opened this issue · 1 comments

Vue.use(vueEventCalendar, {locale: 'zh',color: 'red'}) will init vueEventCalendar, but right now i need change color form 'red' to xxx, xxx is dynamic. How to do that?I've tried Vue.use(vueEventCalendar, {locale: 'zh',color: this.testColor})but can't reinitialize it.Writing it to a function does not register the component
image

work out