打印机本地或网络判断

This commit is contained in:
duan
2024-10-17 10:10:39 +08:00
parent 469c26fe7f
commit b6be81f008
2 changed files with 6 additions and 4 deletions

View File

@@ -46,10 +46,10 @@
{{devicesName(data.contentType)}}
</view>
</view>
<view class="u-m-t-32 u-flex u-row-right gap-20">
<my-button shape="circle" :width="140" :height="56" type="cancel" @tap="delTableHandleEvent()"
<view class="u-m-t-32 u-flex u-row-right gap-20" >
<my-button v-if="data.connectionType == 'network'" shape="circle" :width="140" :height="56" type="cancel" @tap="delTableHandleEvent()"
plain>删除</my-button>
<my-button shape="circle" @click="toUrl" :width="140" :height="56" plain>编辑</my-button>
<my-button v-if="data.connectionType == 'network'" shape="circle" @click="toUrl" :width="140" :height="56" plain>编辑</my-button>
</view>
</view>