Loading ui/src/components/Datepicker.vue +5 −0 Original line number Diff line number Diff line Loading @@ -409,6 +409,11 @@ export default { this.pickerDayRef = this.modelValue ? this.modelValue : moment().format(); this.realInput = this.modelValue ? moment(this.modelValue).format(this.displayFormat) : ""; this.initPickerVar(); }, updated() { this.realInput = this.modelValue ? moment(this.modelValue).format(this.displayFormat) : ""; this.initPickerVar(); } } </script> Loading ui/src/components/activitysearch/ActivitySearchFilterMilestone.vue +2 −1 Original line number Diff line number Diff line Loading @@ -170,7 +170,8 @@ export default { }, handlerChangeDate() { let emited = {value3: this.date1 + ',' + this.date2, reload: true}; console.log("changeDate", this.date1, this.date2); let emited = {value3: (this.date1||'') + ',' + (this.date2||''), reload: true}; this.$emit('filter-update', emited); }, Loading Loading
ui/src/components/Datepicker.vue +5 −0 Original line number Diff line number Diff line Loading @@ -409,6 +409,11 @@ export default { this.pickerDayRef = this.modelValue ? this.modelValue : moment().format(); this.realInput = this.modelValue ? moment(this.modelValue).format(this.displayFormat) : ""; this.initPickerVar(); }, updated() { this.realInput = this.modelValue ? moment(this.modelValue).format(this.displayFormat) : ""; this.initPickerVar(); } } </script> Loading
ui/src/components/activitysearch/ActivitySearchFilterMilestone.vue +2 −1 Original line number Diff line number Diff line Loading @@ -170,7 +170,8 @@ export default { }, handlerChangeDate() { let emited = {value3: this.date1 + ',' + this.date2, reload: true}; console.log("changeDate", this.date1, this.date2); let emited = {value3: (this.date1||'') + ',' + (this.date2||''), reload: true}; this.$emit('filter-update', emited); }, Loading