We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4.10
Chrome79
https://www.antdv.com/components/config-provider-cn/
例如我设置了autoInsertSpaceInButton=false,但是弹出来的对话框按钮仍然有空格
看了下代码https://github.com/vueComponent/ant-design-vue/blob/master/components/modal/confirm.js#L47 原来是自己new了一个新的vue实例出来,也没人给他provide配置 但为啥LocaleProvider就对Modal.confirm有效呢,原来这里并没有用Vue 的 provide/inject 特性,而是专门去读取相关配置信息( https://github.com/vueComponent/ant-design-vue/blob/master/components/modal/locale.js )
ConfigProvider对Modal.confirm有效
ConfigProvider对Modal.confirm无效
The text was updated successfully, but these errors were encountered:
feat: add parentContext for api modal #1709
b8a0195
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
No branches or pull requests
Version
1.4.10
Environment
Chrome79
Reproduction link
https://www.antdv.com/components/config-provider-cn/
Steps to reproduce
例如我设置了autoInsertSpaceInButton=false,但是弹出来的对话框按钮仍然有空格
看了下代码https://github.com/vueComponent/ant-design-vue/blob/master/components/modal/confirm.js#L47 原来是自己new了一个新的vue实例出来,也没人给他provide配置
但为啥LocaleProvider就对Modal.confirm有效呢,原来这里并没有用Vue 的 provide/inject 特性,而是专门去读取相关配置信息( https://github.com/vueComponent/ant-design-vue/blob/master/components/modal/locale.js )
What is expected?
ConfigProvider对Modal.confirm有效
What is actually happening?
ConfigProvider对Modal.confirm无效
The text was updated successfully, but these errors were encountered: