Commit 85434582045b86608bd3ebe19bac0ec79bd8b810

Authored by loveumiko
1 parent 59c543e7

fix: 手机端网关子设备增加在线时命令下发的按钮

@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 </view> 17 </view>
18 </view> 18 </view>
19 <!-- 命令下发 设备在线并且不是网关子设备 --> 19 <!-- 命令下发 设备在线并且不是网关子设备 -->
20 - <view class="mr-2" v-if="deviceDetail.deviceState === 'ONLINE' && deviceDetail.deviceType !== 'SENSOR'"> 20 + <view class="mr-2" v-if="deviceDetail.deviceState === 'ONLINE'">
21 <!-- #ifdef MP --> 21 <!-- #ifdef MP -->
22 <u-button type="primary" shape="circle" size="mini" text="下发命令" @click="handleMpShowModal" /> 22 <u-button type="primary" shape="circle" size="mini" text="下发命令" @click="handleMpShowModal" />
23 <!-- #endif --> 23 <!-- #endif -->
@@ -414,4 +414,4 @@ @@ -414,4 +414,4 @@
414 /deep/ .u-modal__content { 414 /deep/ .u-modal__content {
415 padding: 30rpx 0 !important; 415 padding: 30rpx 0 !important;
416 } 416 }
417 -</style>  
  417 +</style>