vue-plugin-hiprint icon indicating copy to clipboard operation
vue-plugin-hiprint copied to clipboard

[Bug]:image toPdf的时候不能显示图片

Open xujiajun5175 opened this issue 2 years ago • 2 comments

使用的版本

latest

版本号

No response

你的安装方式

NPM 依赖

你的操作系统

Windows

你的浏览器

Edge

你的项目编程语言

Vue 3

问题描述

image image image image 打印和预览都是正常的,但是导出图片或导出pdf是不显示,请问如何解决

如何复现

如上

预期结果

如上

实际结果

如上

截图或视频

[在这里上传图片] image image image image

这个问题是否已经存在?

  • [X] 我已经搜索过现有的问题 (https://github.com/CcSimple/vue-plugin-hiprint/issues)

xujiajun5175 avatar Mar 24 '24 04:03 xujiajun5175

使用绝对路径而非相对路径试试发自我的 iPhone在 2024年3月24日,12:15,xujiajun @.***> 写道: 使用的版本 latest 版本号 No response 你的安装方式 NPM 依赖 你的操作系统 Windows 你的浏览器 Edge 你的项目编程语言 Vue 3 问题描述 image.png (view on web) image.png (view on web) image.png (view on web) image.png (view on web) 打印和预览都是正常的,但是导出图片或导出pdf是不显示,请问如何解决 如何复现 如上 预期结果 如上 实际结果 如上 截图或视频 [在这里上传图片] image.png (view on web) image.png (view on web) image.png (view on web) image.png (view on web) 这个问题是否已经存在?

我已经搜索过现有的问题 (https://github.com/CcSimple/vue-plugin-hiprint/issues)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Xavier9896 avatar Mar 24 '24 05:03 Xavier9896

使用了绝对定位连预览和在线打印都不能正常显示,目前配置如下 image 只能放在public文件夹下 即使改成base64的方式也无法显示 这是我生成pdf的方法 image

xujiajun5175 avatar Mar 24 '24 11:03 xujiajun5175