diff --git a/components/tpx-bluetooth-print/render-template.vue b/components/tpx-bluetooth-print/render-template.vue index 3867f38..ebe7283 100644 --- a/components/tpx-bluetooth-print/render-template.vue +++ b/components/tpx-bluetooth-print/render-template.vue @@ -168,11 +168,8 @@ export default { } let conSta = await this.$refs.curBlueTooth.autoConnect() if(conSta) { - let { bl } = this.checkPrintParam() - if(bl) { - await this.handlePrint() - return true - } + await this.handlePrint() + return true } } catch(e){ } diff --git a/components/tpx-bluetooth/tpx-bluetooth.vue b/components/tpx-bluetooth/tpx-bluetooth.vue index eb252bd..3567cac 100644 --- a/components/tpx-bluetooth/tpx-bluetooth.vue +++ b/components/tpx-bluetooth/tpx-bluetooth.vue @@ -130,9 +130,6 @@ export default { let { deviceId, serviceId, characteristicId } = getSessionBluetoothInfo() return { showConnectPage: true, - canvasId: 'shareCanvas', - canvas_width: 240, - canvas_height: 240, curTab: 0, searchLoading: false, devices: [],