gm-printer 10.16.0-beta.2 → 10.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer",
3
- "version": "10.16.0-beta.2",
3
+ "version": "10.16.0",
4
4
  "description": "diy printer",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -14,11 +14,11 @@ let $printer = window.document.getElementById(printerId)
14
14
  * @param {boolean} isTipZoom zoom的时候是否提示
15
15
  */
16
16
  function init({ isTest, isTipZoom = true } = {}) {
17
- isTipZoom &&
18
- isZoom() &&
19
- window.alert(
20
- '检测您的浏览器使用了缩放,为了避免影响打印布局,请重置缩放到100%后再进行打印'
21
- )
17
+ // isTipZoom &&
18
+ // isZoom() &&
19
+ // window.alert(
20
+ // '检测您的浏览器使用了缩放,为了避免影响打印布局,请重置缩放到100%后再进行打印'
21
+ // )
22
22
  if (!$printer) {
23
23
  $printer = window.document.createElement('iframe')
24
24
  $printer.id = printerId