图片:
const imgWindow = window.open("");
imgWindow && imgWindow.document.write(`<image src='${url}' style='display: flex; margin: 0 auto'/>`);
pdf:
window.open(url + '?response-content-type=application/pdf');
图片:
const imgWindow = window.open("");
imgWindow && imgWindow.document.write(`<image src='${url}' style='display: flex; margin: 0 auto'/>`);
pdf:
window.open(url + '?response-content-type=application/pdf');