提交 8db400cc 作者: 曹云

Merge branch 'master' of ssh://git.mmcuav.cn:8222/iuav/csf-web into feature/chuck

......@@ -32,7 +32,7 @@ const beforeUpload = (file: RcFile) => {
//限制上传10M
const isLt2M = file.size / 1024 / 1024 < 10;
if (!isLt2M) {
message.error("Image must smaller than 2MB!");
message.error("请上传10M以内的JPG、JPEG、BMP、GIF、PNG格式图片");
}
return isJpgOrPng && isLt2M;
};
......
......@@ -72,7 +72,6 @@ export const Box = styled.div`
.detail {
margin: 0 auto;
width: 1200px;
height: 420px;
background: #ffffff;
box-shadow: 0px 2px 6px 0px rgba(183, 188, 197, 0.1);
border-radius: 12px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论