ant-design-vue/breakChange-2.x.md
zkwolf 6f903c3a75
feat: update switch (#2439)
* feat: update switch

* fix: avoid bind attrs to root

* test: update switch

* docs: update switch breakchange

* style: remove unused import

Co-authored-by: tangjinzhou <415800467@qq.com>
2020-06-23 15:45:30 +08:00

764 B

break change

Tag

CheckableTag

v-model -> v-model:checked

Tag

v-model -> v-model:visible

移除 afterClose 属性

Radio

radioGroup radio v-model -> v-model:value

popconfirm

okButtonProps、cancelButtonProps 扁平化处理

v-model -> v-model:visible

popover

v-model -> v-model:visible

Tooltip

v-model -> v-model:visible

Modal

v-model -> v-model:visible

okButtonProps、cancelButtonProps 扁平化处理

Mentions

v-model -> v-model:value

menu

v-model -> v-model:selectedKeys :openKeys.sync -> v-mdoel:openKeys

dropdown

v-model -> v-model:visible

Steps

v-model -> v-model:current

checkbox

v-model -> v-model:checked

checkboxGroup

v-model -> v-model:value

Switch

v-model -> v-model:checked