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
这个已经解决了