@ -366,7 +366,7 @@ const NewEmail = ({ ...props }) => {
resolve(e.target.result)
return
}
var win = window.open('', '_blank')
var win = window.open('', file.uid, 'width=1000,height=800,left=20,top=20')
win.document.body.style.margin = '0'
if (file.type.startsWith('image/')) {
win.document.write("<img src='" + e.target.result + '\' style="max-width: 100%;" />')