Commit a798fb37a8dc097cf5237cd57564cf15b0ba95d4

Authored by xp.Huang
2 parents 59c543e7 85434582

Merge branch 'fix/DEFECT-1931' into 'main_dev'

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

See merge request yunteng/thingskit-app!148
@@ -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>