gm-printer 10.16.0-beta.1 → 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.1",
3
+ "version": "10.16.0",
4
4
  "description": "diy printer",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -575,12 +575,12 @@ class EditorField extends React.Component {
575
575
  <div>
576
576
  <Fonter
577
577
  style={diyOverallOrderStyle}
578
- onChange={this.handleOverallOrderStyleChange}
578
+ onChange={this.handleDiyOverallOrderStyleChange}
579
579
  />
580
580
  <Separator />
581
581
  <TextAlign
582
- style={overallOrderStyle}
583
- onChange={this.handleOverallOrderStyleChange}
582
+ style={diyOverallOrderStyle}
583
+ onChange={this.handleDiyOverallOrderStyleChange}
584
584
  />
585
585
  <EditorSubtotalCheck
586
586
  subtotalCheckDisabled
@@ -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