Skip to content

v1.8.0

Compare
Choose a tag to compare
@dolymood dolymood released this 20 Apr 07:20
· 1935 commits to master since this release

优化

  • Validator: 新增异步校验支持
  • Form: 同步 Validator 的异步支持,同时支持 debounce & trigger:blur,新增 field 的 events
  • DatePicker: 新增 format Prop,用于格式化
  • Scroll: 新增 resetPullUpTxt 方法,重置上拉文案
  • IndexList: 新增下拉刷新和上拉更多
  • Input: 新增 change 事件
  • Upload: 新增 action 的 checkSuccess{Function} 配置,用于检测当请求成功时是否真的上传成功
  • create-api: 新增 $props$events 配置,$props 的数据是响应式的

Breaking Changes

  • DatePicker: 之前的默认文本 2018年 改为可配置式的,默认都是纯数字文本,可通过 format 格式化
  • Popup: 当 maskfalse 时,可点击后边内容,之前版本不可点击

Fixes

  • Select: 修复特殊情况下数据不更新问题
  • Select & DatePicker: findIndex bug #163
  • SSR: fix window undefined #161

依赖


Improvements

  • Validator: Support async validate.
  • Form: Same as Validator support async validate. And support decounce & trigger:blur. And field new events to config events
  • DatePicker: New format Prop to format text.
  • Scroll: New resetPullUpTxt method to reset pullUp text.
  • IndexList: Support Pull Down Refresh & Pull Up Load More.
  • Input: New change event.
  • Upload: New checkSuccess{Function} option of action Prop, this is used to check the file is successful uploaded when the ajax is success.
  • create-api: New $props and $eventsconfig, $props is reactive.

Breaking Changes

  • DatePicker: The default text from 2018年 changed to use format option to format texts.
  • Popup: When mask is false you can click the backgound content now.

Fixes

  • Select: Fix data no change bug
  • Select & DatePicker: findIndex bug #163
  • SSR: fix window undefined #161

Dependencies