fix bug using vuejs and datepicker