This commit is contained in:
aihe 2024-05-10 12:09:17 +08:00
parent 540ee738f1
commit 10cc48d6db

View File

@ -5,7 +5,10 @@
<view class="blcok-white">
<view >
<u-row custom-style="gap: 10rpx;">
<u-button @click="discoveryPrinter" type="info" :loading="searchLoading" loadingSize="24" loadingText="搜索中">搜索周边设备</u-button>
<u-button @click="discoveryPrinter">
{{searchLoading?'搜索中...':'搜索周边设备'}}
</u-button>
<u-button @click="stopDiscoveryPrinter">停止搜索</u-button>
<u-button @click="writeBLECharacteristicValue" type="primary" :disabled="!(deviceId && serviceId && characteristicId)">打印</u-button>
</u-row>