You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/breakChange-2.x.md

1.1 KiB

break change

global api

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

tabs

v-model -> v-model:activeKey

renderTabBar({props, on, style, class}, DefaultTabBar) -> {DefaultTabBar, ...props} 多参数改成单参数并且扁平化处理

card

tabList[{scopedSlots}] -> tabList[{slots}]

rate

v-model -> v-model:value

Collapse

v-model -> v-model:activeKey

List

renderItem(item, index) => renderItem({item, index}) 该用单参数