1、直接在你的入口文件引入一个css文件。 根文件 2、在这个文件中加一句 @import '~antd/dist/antd.css’解决问题 @import '~antd/dist/antd.css’