提示文章写完后目录可以自动生成如何生成可参考右边的帮助文档如图使用 a-button /a-button后按钮中间会出现一个空格。1. 官方解决办法2.实践生效代码a-config-provider :autoInsertSpaceInButtonfalse a-button typeprimary {{ text }} /a-button /a-config-provider亲测有效如果这个对你有帮助麻烦帮忙点个赞