请问uni-calendar 日历 选择时间范围的开始时间和结束时间怎么拿呀
2条回答 默认 最新
关注<uniCalendar ref="calendar" :insert="false" :start-date="startDate" :end-date="endDate" :clearDate="false" :range="info.range" @confirm="confirm"> confirm(e) { if (this.nowDate != e.fulldate || !this.showCalendar) { this.showCalendar = true; this.$refs.caleDrop.selectAuto(); this.nowDate = e.fulldate; this.showDataTime = e.fulldate.replace(/-/g, ""); this.$Common.tipMsg("当前时间:" + this.showDataTime) this.rangeStartDate=e.range.before; this.rangeEndDate=e.range.after; } },本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报