- switch: 新增
open-text
,close-text
- popover: 新增
disabled
- progress: 新增
line-theme
, { 'normal' ,success, 'error'} - imgs-picker: 新增
image
,upload
插槽,用于自定义 - imgs-crop:
getImage(...rest)
->getImage({})
- down-count: 废弃原有format格式,默认值
DD天HH小时mm分ss秒ms
, 移除before-text
,after-text
- customer:
create-customer
->customer
- picker: 新增组件picker-view, picker-popup(用于自定义, date-picker-core也是基于此开发的)
- date-picker: 新增组件date-picker-view
- picker:
MPicker.popup
->MPicker.open
- date-picker:
MDatePicker.popup
->MDatePicker.open
- imgs-preview:
ImgsPreview.popup
->ImgsPreview.open
- popup:
position
->placement
, 新增theme(light/dark/none) - popover:
theme
(light/dark/none) - 弹层属性一律将
transfer
->portal
, 默认都为true
- select:
filterable -> search
,remote-method -> load-data
,clearSingleSelect -> remove
,not-found-text
->not-found
- select: 删除
remote
,loading
,loading-text
,setQuery
方法,label-in-value
- select: 事件暂时只有
clear
,change
- input-number: 新增
after
,before
事件
新增: input-number
input-search
- popover: 新增ready事件
- popconfirm: 新增ready事件
- input: slot(prepend, append, 其他不支持)
- input: 不再支持
icon
,prefix
,suffix
- pull-scroll: it -> { it, index }
- paging[piece]: it -> { it, index }, data -> data-source
- sort-list: it -> { it, index }
- transition: 新增动画
fade
,slide
,zoom
,scale
,collapse
.额外扩展basic-mixin.js
- expand:
v-model
调整内部属性show
->visible
,change
->visible-change
, 删除toggle
方法
- vc:
clean
->clear
- form: 添加
slot
,label
- form: 过滤数组字段中为
''
的情况 - button:
loading
功能(内部属性),click
事件为Promise
情况使用 - modal: 优化
modal
结构, 新增close
事件, 默认closeWithCancel: true
开启主动关闭时触发cancel
(cancel
为取消按钮) - modal: 默认
ok
事件返回Promise
, 将触发loading
效果; - modal: 新增
footer
字段 - popover: 定位和样式调整
- icon: 新增图标预览功能
- down-count:
render -> render-row
, 新增字段showZero
控制是否显示00
- 针对bem规则优化
button
,modal
,form
,imgs-preview
样式优化
- create-portal:
el -> tag
,root -> el
- message:
hide -> destroy
- m-toast:
hide -> destroy
-
cascader:
data -> data-source
-
table:
data -> data-source
-
tree:
data -> data-source
-
date-picker:
type -> mode
-
timer-picker:
type -> mode
-
新增
vc-textarea
wya-vc
->@wya/vc
- 添加仓库