Skip to content

Releases: mengxiong10/vue2-datepicker

v2.10.0

12 Feb 05:45
Compare
Choose a tag to compare

Features

  • add prop default-value for calendar default date (#94) (4ff6945)
  • show the popup on focus and close it on blur (3bcedf5)

新功能

  • 添加属性default-value作为打开日历的默认时间 (#94) (4ff6945)
  • 输入框有焦点的时候自动打开日历选择, 失去焦点时关闭 (3bcedf5)

v2.9.2

10 Feb 06:17
Compare
Choose a tag to compare

Bug Fixes

  • the display error of the year panel header (#245)

Bug修复

  • 选择年的面板的标题显示错误 (#245)

v2.9.1

10 Feb 06:16
Compare
Choose a tag to compare

Bug Fixes

  • stringify function returns a error value,when date is null (#244)

Bug修复

  • 当绑定的值是null时格式化字符串返回的时间错误

v2.9.0

29 Jan 14:59
Compare
Choose a tag to compare

Features

新功能

v2.8.1

24 Jan 02:32
Compare
Choose a tag to compare

Bug Fixes

  • clickoutside event listener change capturing to bubbling (054758e)

修复Bug

  • 点击外部关闭监听的函数从捕获改成冒泡, 可以用stopPropagation 阻止关闭

v2.8.0

13 Jan 06:47
Compare
Choose a tag to compare

Features

  • add prop valueType to format binding value (dd6f2ea)
Accepted Value Description
date binding value will be a Date object
timestamp binding value will be a timestamp number
format binding value will be the format string

新功能

  • 添加属性 valueType 格式化绑定值 (dd6f2ea)
可选值 描述
date 返回的绑定值是Date对象
timestamp 返回的绑定值是时间戳数字
format 返回的绑定值是通过format属性格式化的值

v2.7.0

08 Jan 02:35
Compare
Choose a tag to compare

Features

  • add class to .mx-calendar indicating the different panel (#219) (1d0a67b)
  • add prop inputAttr (2381089)

新功能

  • 在mx-calendar元素上添加class去表明现在的窗口类型(mx-clendar-panel-(year, date, time, month))
  • 添加新的属性inputAttr 去自定义input 的属性

v2.6.4

19 Dec 02:03
Compare
Choose a tag to compare

Bug Fixes

  • fix when clear input(not use clear button) the date value not changed (39d2c40)

修复bug

  • 修复当手动清空输入框时间没有改变

v2.6.3

11 Dec 01:58
Compare
Choose a tag to compare

Bug Fixes

  • fix unable set value later when range is ture (#209) (97289d1)

修复Bug

  • 修复手动输入范围时无法成功的问题 (#209) (97289d1)

v2.6.2

11 Dec 01:57
Compare
Choose a tag to compare

Bug Fixes

  • calendar-change trigger in right time (b1a5a41)

Features

  • add calendar-change event (ef9314e)

修复Bug

  • calendar-change事件在正确的时候触发 (b1a5a41)

新功能

  • 添加 calendar-change 事件 (ef9314e)