Ant Design Vue报错:Failed to resolve directive: ant-portal的问题解决
Deshun 发布于 4年前 (2021-02-01) 2454℃ 评论(0) 赞 (2)
使用 Ant Design Vue 框架,在调用 Modal 组件时报错:[Vue warn]: Failed to resolve directive: ant-portal (found in <Anonymous>)解决方法:注册 Modal 的时候,将:Vue.component(...