vue-devui
vue-devui copied to clipboard
🐛 [Bug]: Cascader组件中的子组件不应该用 devui-tag 命名样式
Version
latest
Vue Version
latest
Link to minimal reproduction
https://vue-devui.github.io/components/tag/
Step to reproduce
如上图,Cascader
的子组件CascaderTag
样式使用了devui-tag
进行命名,影响了Tag
组件的样式,每个Tag
组件都被添加了灰色背景。如下图:
What is expected
Cascader
组件应该使用自己的命名空间做样式命名。已封装useNamespace
方法(shared/hooks/use-namespace.ts
),用来规范样式命名,使用方式可参考Table
组件。
What is actually happening
No response
Any additional comments (optional)
No response
@all-contributors please add @xingyan95 for bug
这个已经解决了