import { Form } from 'ant-design-vue' 生产环境下useInjectFormItemContext undefined #6613
Unanswered
whateveryoudo
asked this question in
Q&A
Replies: 1 comment
-
你好,请问你这个问题解决了吗,我也遇到打包后Form对象找不到useInjectFormItemContext方法的问题,本地是正常的 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用useInjectFormItemContext,本地正常,build后发现,并未走index.jsx进行useInjectFormItemContext挂载(PS:是否和包含的组件使用defineAsyncComponent 有关)
Beta Was this translation helpful? Give feedback.
All reactions