当前位置:网站首页>记录一下使用v-print中遇到的问题
记录一下使用v-print中遇到的问题
2022-04-23 06:17:00 【ZMJ_QQ】
参考文档
1、点击打印时控制台报错,还未解决
2、去掉页眉 和页脚,在更多设置中取消勾选页眉页脚
3、解决内容挨着边和打印时有空白页的问题
<style media="qualityPrint">
/* media="qualityPrint" qualityPrint是需要打印的div的id*/
/* 让打印的内容不挨着边框 */
@page {
size: auto; /* auto is the initial value */
margin: 15mm; /* this affects the margin in the printer settings */
}
/* body{height:auto;} 解决空白页问题*/
body {
height: auto;
}
</style>
版权声明
本文为[ZMJ_QQ]所创,转载请带上原文链接,感谢
https://blog.csdn.net/ZMJ_QQ/article/details/123324281
边栏推荐
- 自定义classloader并实现热部署-使用loadClass
- SDC intelligent communication patrol management system of Nanfang investment building
- 基于51单片机的温湿度监测+定时报警系统(c51源码)
- Jupyter Notebook 安装
- imx6ull-qemu 裸机教程1:GPIO,IOMUX,I2C
- armv8m(cortex m33) MPU实战
- 免费开源农业物联网云平台(Version:3.0.1)
- 关于短视频平台框架搭建与技术选型探讨
- 以智能生产引领行业风潮!美摄智能视频生产平台亮相2021世界超高清视频产业发展大会
- PyTorch 19. Differences and relations of similar operations in pytorch
猜你喜欢
随机推荐
带低压报警的51单片机太阳能充电宝设计与制作(完整代码资料)
golang实现一个带Web界面的五险一金计算器
By onnx checker. check_ Common errors detected by model
“泉”力以赴·同“州”共济|北峰人一直在行动
JDBC连接池
南方投资大厦SDC智能通信巡更管理系统
Pep517 error during pycuda installation
F. The wonderful use of pad
The simplest and complete example of libwebsockets
免费开源充电桩物联网云平台
PyTorch 20. Pytorch tips (continuously updated)
Device Tree 详解
公专融合对讲机是如何实现多模式通信下的协同工作?
Cmder Chinese garbled code problem
Unable to determine the device handle for GPU 0000:02:00.0: GPU is lost.
PyTorch 10. Learning rate
北峰油气田自组网无线通信对讲系统解决方案
unhandled system error, NCCL version 2.7.8
enforce fail at inline_ container. cc:222
jvm知识点汇总-持续更新