[Enhancement] [config-provider] Config Provider组件可不可以全局配置其他组件上的属性 #16721
2292777095
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Enhancement
Details
config-provider
Description
传入一个配置对象例如::config="{'ElSelect': {clearable: true, filterable: true }}",如果ElSelect组件上存在相同属性,则会覆盖Config Provider组件的配置,这样就不用每个el-select都去添加这些组件,vite-plugin-custom-attr这个包我用过,有大问题,不支持在组件中@click="() => xxxxx"这样写事件,会直接编译报错,现在也没有改正。
Additional comments
(empty)
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions