当前位置:网站首页>Record the problems encountered in using v-print
Record the problems encountered in using v-print
2022-04-23 12:53:00 【ZMJ_ QQ】
Reference documents
vue html Page printing function vue-print-nb - Xiaoxiang Yuxi - Blog Garden
1、 When clicking print, the console reports an error , It's not settled yet
2、 Remove header And footers , Uncheck header and footer... In more settings
3、 Solve the problem of content next to the edge and blank pages when printing
<style media="qualityPrint">
/* media="qualityPrint" qualityPrint It needs to be printed div Of id*/
/* Make the printed content not next to the border */
@page {
size: auto; /* auto is the initial value */
margin: 15mm; /* this affects the margin in the printer settings */
}
/* body{height:auto;} Solve the problem of blank pages */
body {
height: auto;
}
</style>
版权声明
本文为[ZMJ_ QQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230616457332.html
边栏推荐
- PHP generates JSON to process Chinese
- AD20补充笔记3—快捷键+持续更新
- CGC: contractual graph clustering for community detection and tracking
- Idea的src子文件下无法创建servlet
- BaseRecyclerViewAdapterHelper 实现下拉刷新和上拉加载
- 梳理网络IP代理的几大用途
- Kubernets Getting started tutoriel
- SSM框架系列——数据源配置day2-1
- Customize the shortcut options in El date picker, and dynamically set the disabled date
- Everything can be expected in the future | one 2022 campus recruitment officially opened
猜你喜欢
世界读书日:我想推荐这几本书
Customize the shortcut options in El date picker, and dynamically set the disabled date
力扣刷题之完全二叉树的节点个数
Object. The disorder of key value array after keys
SSM framework series - JUnit unit test optimization day2-3
SSL certificate refund instructions
Realize several "Postures" in which a box is horizontally and vertically centered in the parent box
leetcode:437. 路径总和 III【dfs 选还是不选?】
解决disagrees about version of symbol device_create
How to prevent the website from being hacked and tampered with
随机推荐
4.DRF 权限&访问频率&过滤&排序
Unable to create servlet under SRC subfile of idea
CGC: contractual graph clustering for community detection and tracking
leetcode:437. 路径总和 III【dfs 选还是不选?】
Fashion cloud learning - input attribute summary
Uni app native app local packaging integrated Aurora push (jg-jpush) detailed tutorial
网站首页文件被攻击篡改的形式有哪些
Number of nodes of complete binary tree
产品开发都应该知道的8个网站,增强工作体验
Plato farm - a game of farm metauniverse with Plato as the goal
Introduction to metalama 4 Use fabric to manipulate items or namespaces
如何防止网站被黑客入侵篡改
[daily question] chessboard question
[vulnhub range] - DC2
【unity笔记】L4Unity中的基础光照
C, calculation code of parameter points of two-dimensional Bezier curve
Hard core parsing promise object (do you know these seven common APIs and seven key questions?)
Remote access to raspberry pie at home (Part 1)
洛谷P3236 [HNOI2014]画框 题解
C#,二维贝塞尔拟合曲线(Bézier Curve)参数点的计算代码