Commit cd9565a6 authored by zhuyangbin's avatar zhuyangbin

heic图片

parent 476f0bb6
......@@ -17,7 +17,7 @@ export default class uploadDetail extends React.Component {
type = type.toLowerCase();
if (['png', 'gif', 'bmp', 'jpg', 'jpeg', 'heic'].includes(type)) {
if (type === 'heic') {
url += '?imageView2/2/w/700';
url += '?imageView2/2/w/700/q/100';
}
this.setState({ showDialog: true, type: 'image', url });
} else if (['doc', 'docx', 'document', 'xls', 'xlsx', 'ppt', 'pptx'].includes(type)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment