You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
读源码发现 ant-design-vue\es\input\Password.js 下的 props属性对象合并时inputProps被放在前面,导致一直固定为ant-input and ant-input-password
目前仅发现input-passworrd组件存在这问题,尚不知其他小功能组件是否有类似问题。
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
input-passworrd组件props合并prefixCls被固定
The input-passworrd component props merged with prefixCls is fixed
Jun 27, 2021
Version
1.7.3
Environment
5.0 (Windows NT 10.0; Win64; x64) Chrome/91.0.4472.114 Vue/2.6.10
Reproduction link
http://小BUG
Steps to reproduce
更改项目的全局配置的prefixCls属性为erp-ant 想达到样式隔离效果 但是input-passworrd 组价 claasName 还是原来的 ant-input
What is expected?
应该返回erp-ant-input
What is actually happening?
实际为ant-input
读源码发现 ant-design-vue\es\input\Password.js 下的 props属性对象合并时inputProps被放在前面,导致一直固定为ant-input and ant-input-password
目前仅发现input-passworrd组件存在这问题,尚不知其他小功能组件是否有类似问题。
The text was updated successfully, but these errors were encountered: