emis-app/pages/print/bluetoothPrinter.vue
2024-05-11 13:11:46 +08:00

47 lines
653 B
Vue

<template>
<tpx-page>
<tpx-bluetooth-print v-if="!pageLoading" :imageUrl="queryOption.imageUrl" :canvasWidth="queryOption.canvasWidth"
v-model:canvasHeight="queryOption.canvasHeight"
></tpx-bluetooth-print>
</tpx-page>
</template>
<script>
export default {
computed: {
},
data () {
return {
pageLoading: true,
queryOption: {
imageUrl: '',
canvasWidth: '',
canvasHeight: '',
}
}
},
mounted () {
},
unmounted() {
},
onLoad(option) {
this.queryOption = option
this.initData();
},
methods: {
initData(){
this.pageLoading = false
},
}
}
</script>
<style scoped lang="scss">
</style>