antd 3 以前的版本需要在 tsconfig.json 的 compilerOptions 中配置 "allowSyntheticDefaultImports": true 转载于:https://www.cnblogs.com/mmykdbc/p/10221107.html