如何动态修改antd全局配置 #12916
如何动态修改antd全局配置
#12916
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我按照官网的步骤创建了umi max项目,v4的,按照例子想动态修改ant的全局配置,但是遇到提示类型错误,然后也没法修改,请问我哪里漏了吗?
这是我用来修改的组件:
其他文件都没改,项目创建后是什么样子就是上面样子
app.ts
配置文件如下:
.umirc.ts
这边点击切换按钮后,打印出的数据

antdConfig?.theme?.algorithm
如下,似乎这上面不能调用includes方法:Beta Was this translation helpful? Give feedback.
All reactions