解决 Ant Design For Vue 报 Antd is not defined 错误

解决办法

import Vue from 'vue'// 将 import Antd from 'ant-design-vue' 改成如下即可import Antd from 'ant-design-vue/es'Vue.use(Antd)// 将 import Antd from 'ant-design-vue' 改成如下即可import Antd from 'ant-design-vue/es'Vue.use(Antd)

评论已关闭

\n