Browse Source

添加空数据代替

xiaohaizhao 2 năm trước cách đây
mục cha
commit
6ea2b8441d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/facility/modules/horizontalDirection.vue

+ 1 - 1
pages/facility/modules/horizontalDirection.vue

@@ -9,7 +9,7 @@
                     </text>
                 </view>
                 <view class="value">
-                    {{ item.lastvalue }}
+                    {{ item.lastvalue || '--' }}
                 </view>
             </view>
         </view>