选择 Freestyle project 构建 执行 Shell pwd git checkout develop git pull cd .. tar -zcf prod_frontend.tar.gz ./prod_frontend --exclude *.tar.gz mv prod_fro
现象描述 在Mac和Win上打包没问题,放到Centos下打包报错: $ yarn build yarn run v1.19.1 $ umi build ✖ Webpack Compiled with some errors in 1.05m ERROR Failed to compi
集成引用 yarn add babel-plugin-import yarn add antd 安装完毕后,首先在index.js中引入antd的css文件 import 'antd/dist/antd.css'; 之后,在需要用到antd的组件js中引入所需部件即可 impo
文档:https://3x.ant.design/components/upload-cn/ 取消图片删除按钮 <Upload showUploadList={{showRemoveIcon:false}} //加上这句代码 onChange={this.uploadStateCha