We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
popupClassName
dropdownClassName
4.1.2~4.2.1
vue3.2 ts ant-design-vue4.2.1
<a-cascader :popup-class-name="'custom-cascader-popup'" v-model:value="value" :options="options" :show-search="showSearch ? { filter } : false" :fieldNames="{ label: 'label', value: 'value', children: 'children' }" :change-on-select="changeOnSelect" :placeholder="placeholder" @change="change" />
当设置了popup-class-name后,会提示
Warning: [ant-design-vue: Cascader] `popupClassName` is deprecated. Please use `dropdownClassName` instead.
当改成提示的dropdownClassName后,又反向提示
Warning: [ant-design-vue: Cascader] `dropdownClassName` is deprecated. Please use `popupClassName` instead.
The text was updated successfully, but these errors were encountered:
Warning: [ant-design-vue: Modal] visiblewill be removed in next major version, please useopen instead.
Warning: [ant-design-vue: Modal]
will be removed in next major version, please use
instead.
I got the same warning, then I check the code, open is used and it is correct
open
Sorry, something went wrong.
fix(cascader): remove outdated compatibility code(vueComponent#7532)
53b758f
eef96ce
fix(cascader): remove outdated compatibility code(#7532) (#7534)
7ce0f11
No branches or pull requests
Version
4.1.2~4.2.1
Environment
vue3.2 ts ant-design-vue4.2.1
示例代码
控制台提示错误
当设置了popup-class-name后,会提示
按照提示修改后又提示的错误
当改成提示的dropdownClassName后,又反向提示
The text was updated successfully, but these errors were encountered: