Weui.js Versions Save

A lightweight javascript library for WeUI.

v1.1.2

6 years ago
  • 【修复】 hide的回调在事件响应中报错的问题
  • 【修复】 修复结束日期为个位数时不能到选择结束日期当天的bug。#73
  • 【修复】 example.js index为0的时候,浏览图片不能删除的问题
  • 【修复】 多列时多次触发onChange的bug #104
  • 【修复】 example手动上传图片不显示的问题 #116
  • 【修复】 参数isAndroid不生效的问题 #111
  • 【优化】 文档不完善,没有列出html #70
  • 【优化】 picker 增加参数,指定容器
  • 【优化】 uploader 增加 xhrFields 参数,设置 withCredentials:true 支持 cookies
  • 【优化】 表单验证逻辑,如果有表达式,先进行表达式校验,再进行为空校验。目的是符合input选填,但要是填了的话一定要符合正则的需求。#66 #102
  • 【优化】 picker 允许传入基本类型,那么label和value都是它
  • 【优化】 form 增加API showErrorTipshideErrorTips

CDN

https://res.wx.qq.com/open/libs/weuijs/1.1.2/weui.js

https://res.wx.qq.com/open/libs/weuijs/1.1.2/weui.min.js

v1.1.1

7 years ago
  • 【优化】 actionSheet/alert/confirm/dialog/gallery/loading/picker/topTipshide增加回调入参
  • 【修复】 preview展示图片时url会出现的问题
  • 【修复】 uploader在拍照时图片方向错误的问题
  • 【修复】 picker在某些机型上点击时会移动2倍距离的问题

CDN

https://res.wx.qq.com/open/libs/weuijs/1.1.1/weui.js

https://res.wx.qq.com/open/libs/weuijs/1.1.1/weui.min.js

v1.1.0

7 years ago
  • 【增强】 日期选择器datePicker增加cron的用法,详情请看文档
  • 【增强】 uploader里的file增加stop API,以中断当前文件的上传
  • 【增强】 uploader里的file增加status,以表示当前文件的状态:ready, progress, success, fail
  • 【增强】 actionSheet/alert/confirm/dialog/gallery/loading/picker/toast/topTips增加自定义类名的接口
  • 【优化】 picker在回调中同时返回label和value
  • 【优化】 picker支持PC的滑动,以适应PC微信
  • 【优化】 alert/confirm/dialog支持return false后不关闭,以支持开发者后续更多的操作
  • 【修复】 hide调用之后二次调用会报错的问题
  • 【修复】 form在使用Vue.js后无法正常工作的问题
  • 【修复】 example在上传之后预览不出现图片的问题

CDN