vue3-print-nb
vue3-print-nb copied to clipboard
vue-print-nb
嵌套iframe,内容丢失
  
vue3安装后,打印不能分页
不能通过ref主动触发打印,希望暴露个方法能主动触发,使用场景就是打印页面是个单独的页面,而且内容是接口返回的,但是按钮是在前一个页面上,点了打印按钮需要先调接口获取数据,获取到数据并且渲染完毕在触发打印。 还有种情况是,静默打印,也就是列表上每一行都有打印按钮,点了直接就打印了,并没有中间预览页,这个时候就需要主动去触发打印
如截图1 打印预览中 地图 ploygon 发生错位  如果由 canvas 转换后的 img 把原canvas的样式也一并带上就没问题了  vue3-print-nb 版本:0.1.4
https://github.com/Power-kxLee/vue3-print-nb/blob/e3c2b9fde8f5356c1b1efed1b7798913e9a6ce60/src/print/packages/printarea.js#L238
[email protected] [email protected] 以下是打印预览看到的问题样式,el-checkbox 组件的 `border-right` 和 `border-bottom` 样式丢失,导致看不到选中的对勾。 ```css .el-checkbox__inner::after { box-sizing: content-box; content: ""; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-image-source: ; border-image-slice:...
怎么支持这个编辑器的多页导出呢,https://github.com/red-axe/am-editor/tree/master。我测试后只能导出一页
方便后端socket传数据,不需要点击,直接就打印了