diff --git a/components/tpx-bluetooth-print/print/tanexPrinterUniSdk.js b/components/tpx-bluetooth-print/print/tanexPrinterUniSdk.js index 6c78dc9..c34b378 100644 --- a/components/tpx-bluetooth-print/print/tanexPrinterUniSdk.js +++ b/components/tpx-bluetooth-print/print/tanexPrinterUniSdk.js @@ -64,7 +64,7 @@ var tanexPrinter = { var width = parseInt((res.width + 7) / 8 * 8 / 8) var height = res.height; // console.log(width + "--" + height) - data = "CG " + width + " " + height + " " + x + " " + y + " " + data = `CG ${width} ${height} ${x} ${y} ` tanexPrinter.addCommand(data) // console.log(command) var r = []