uu
This commit is contained in:
parent
6ea8e5ddef
commit
601b84cd6b
@ -43,7 +43,7 @@ export default {
|
||||
percentage: 0, // 打印进度
|
||||
threshold: 200, // 阈值(值越大,图片打印越深)
|
||||
imageUrl: '',
|
||||
paperWidth: 320,
|
||||
paperWidth: 560,
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
||||
@ -42,7 +42,6 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
imageUrl: '',
|
||||
// paperWidth: 72,
|
||||
paperWidth: 560,
|
||||
show: false,
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<tpx-page>
|
||||
<tpx-bluetooth-print show="!pageLoading"
|
||||
:imageUrl="queryOption.imageUrl" :paperWidth="queryOption.paperWidth"
|
||||
:imageUrl="queryOption.imageUrl"
|
||||
></tpx-bluetooth-print>
|
||||
</tpx-page>
|
||||
</template>
|
||||
@ -18,7 +18,6 @@ export default {
|
||||
pageLoading: true,
|
||||
queryOption: {
|
||||
imageUrl: '',
|
||||
paperWidth: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -72,7 +72,6 @@
|
||||
handlePrint() {
|
||||
this.$refs.curPrint.startPrint({
|
||||
imageUrl: this.qrCodeImgUrl,
|
||||
paperWidth: 480,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user