// 预览 export function winOpenFile(fileName, content) { if (imgReg(fileName)) { // 验证是否为图片 const img = new Image(); img.src = content; //base64图片链接 const newWin = window.open("", "_blank"); newWin.document.write(img.outerHTML); newWin.document.title = fileName newWin.document.close(); } else { window.open(content, "_blank"); } }
上面是“vuejs用window.open打开base64图片”的全面内容,想了解更多关于 vuejs 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_29.html
workflows工作流
坐落在白雪覆盖的广阔平原上2只可爱的雪豹
一只乌鸦栖息在一盏神灯上
一只可爱的快乐老鼠戴着帽子ComfyUI工作流
一朵在晨光中带着露珠的蓝玫瑰
一个超现实和超现实的场景,在森林中心有一座蛇形的房子
一个冰淇淋ComfyUI工作流
树上站着一只鸟ComfyUI工作流
奋斗的小黄人ComfyUI工作流
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!