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组件存在这问题,尚不知其他小功能组件是否有类似问题。