gm-printer-label 3.0.10-beta.1 → 3.0.10

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/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/Users/xurora/Desktop/gm-printer-label/src/util.js":"1","/Users/xurora/Desktop/gm-printer-label/src/printer/block.js":"2","/Users/xurora/Desktop/gm-printer-label/src/common/editor_compoents/store.js":"3"},{"size":1935,"mtime":1655908329945,"results":"4","hashOfConfig":"5"},{"size":10369,"mtime":1655970030340,"results":"6","hashOfConfig":"5"},{"size":7160,"mtime":1655951736143,"results":"7","hashOfConfig":"5"},{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"10llghp",{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/xurora/Desktop/gm-printer-label/src/util.js",[],"/Users/xurora/Desktop/gm-printer-label/src/printer/block.js",[],"/Users/xurora/Desktop/gm-printer-label/src/common/editor_compoents/store.js",[]]
1
+ [{"/Users/xurora/Desktop/gm-printer-label/src/util.js":"1","/Users/xurora/Desktop/gm-printer-label/src/printer/block.js":"2","/Users/xurora/Desktop/gm-printer-label/src/common/editor_compoents/store.js":"3"},{"size":1937,"mtime":1656502524283,"results":"4","hashOfConfig":"5"},{"size":10183,"mtime":1656502805870,"results":"6","hashOfConfig":"5"},{"size":7160,"mtime":1655951736143,"results":"7","hashOfConfig":"5"},{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"10llghp",{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/xurora/Desktop/gm-printer-label/src/util.js",[],"/Users/xurora/Desktop/gm-printer-label/src/printer/block.js",[],"/Users/xurora/Desktop/gm-printer-label/src/common/editor_compoents/store.js",[]]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer-label",
3
- "version": "3.0.10-beta.1",
3
+ "version": "3.0.10",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -108,7 +108,6 @@ class Block extends React.Component {
108
108
  isStation,
109
109
  ...rest
110
110
  } = this.props
111
- console.log('test', merchandise_trace_qrcode)
112
111
  const { isEdit } = this.state
113
112
  let content = null
114
113
  if (!type || type === 'text') {
@@ -159,7 +158,6 @@ class Block extends React.Component {
159
158
  />
160
159
  )
161
160
  } else if (type === 'merchandise_trace_qrcode') {
162
- console.log('template(merchandise_trace_qrcode, data)', merchandise_trace_qrcode, data, template(merchandise_trace_qrcode, data))
163
161
  content = isStation ? (
164
162
  <QrCode
165
163
  value={miniAppLink + template(merchandise_trace_qrcode, data)}
package/src/util.js CHANGED
@@ -75,7 +75,7 @@ function afterImgAndSvgLoaded (callback, $printer) {
75
75
  timer = setTimeout(afterImgAndSvgLoaded.bind(this, callback, $printer), 300)
76
76
  }
77
77
  }
78
- const miniAppLink = 'https://q.guanmai.cn/trace#/commodity_arch'
78
+ const miniAppLink = 'https://miniapp.guanmai.cn/traceability/?id='
79
79
  export {
80
80
  pxAdd,
81
81
  getStyleWithDiff,