fix: 打印问题修复

This commit is contained in:
aihe 2025-04-12 13:06:03 +08:00
parent 0e344ffae6
commit 0cf537bba4
3 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,7 @@
<!-- 打印+蓝牙连接 -->
<tpx-dialog
v-model:show="printModel.show"
:renderDefaultSlot="true"
@onClose="handleCloseModal"
custom-style="width: 600rpx;padding: 10rpx;"
title="打印设备"

View File

@ -13,7 +13,7 @@
</u-row>
<view style="height: 2rpx;background-color: rgb(214, 215, 217);position: absolute;left: 0rpx;right: 0rpx;;"></view>
</view>
<view v-if="show" class="lgd-body" :style="`padding: 0rpx 30rpx;${contentStyle}`">
<view v-if="renderDefaultSlot || show" class="lgd-body" :style="`padding: 0rpx 30rpx;${contentStyle}`">
<slot></slot>
</view>
</view>
@ -35,6 +35,11 @@
return false
}
},
renderDefaultSlot: {
default () {
return false
}
},
closePosType: {
default () {
return 'right'

View File

@ -3,7 +3,7 @@
"appid" : "__UNI__BCB0FB5",
"description" : "探路国际速运",
"versionName" : "1.0.1",
"versionCode" : "1059",
"versionCode" : "1060",
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {