vue-print-nb icon indicating copy to clipboard operation
vue-print-nb copied to clipboard

Vue plug-in, print! Good!

Results 82 vue-print-nb issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

请问一下,closeCallback这个函数怎么区别确认打印还是取消打印啊?

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.10. Commits 8cd4c6c 1.5.10 ce7a01f [fix] Improve handling of empty port 0071490 [doc] Update JSDoc comment a7044e3 [minor] Use more descriptive variable name d547792 [security]...

dependencies

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.2 to 1.14.8. Commits 3d81dc3 Release version 1.14.8 of the npm package. 62e546a Drop confidential headers across schemes. 2ede36d Release version 1.14.7 of the npm package. 8b347cb...

dependencies

1.打印配置里面,好像不可以使用动态值? 例如我想在预览标题上,按照用户选好的页面尺寸是A3还是A4的时候,我提示他当前是A3还是A4的预览,好像值没变化,一直是初始值(previewTitle) 2.请教一下,JS有没有办法直接设置浏览器打印界面的纸张尺寸,遇到有个需求,用户想在页面选择好尺寸,例如上一个问题提到的,选了A3,那点击打印的时候,我们JS是否可以直接将打印纸张设置为A3吗?

报表打印需求每一页都要有独立的头部,通过extraHead只可以设置一个标题,仅可以传string不满足需求。 实测可以通过设置打印样式 可以设置复杂的页眉

打印是,如何默认自定义的页边距,比如A4打印 上下是2.54cm,左右是3.18cm。

clickMounted 这个中断不了呀 就算验证失败 还是会弹出来

用sass进行嵌套写法,打印预览中被标记元素的子元素布局会失效(已知:display:flex;text-align)。如以下代码,content和img应水平排布,当点击打印按钮时,打印预览中,img会被挤下来独占一行。 ```javascript // 布局 ... ... 打印 // 样式 .container { .print { display: flex; } } ``` 此问题在vue2和3的版本中都得到复现,解决方法是不用嵌套写法。 ```css .print { display: flex; } ``` 如上述代码中样式改为以上代码,打印预览即可恢复正常布局。