Bläddra i källkod

添加空数据代替

xiaohaizhao 2 år sedan
förälder
incheckning
6ea2b8441d
1 ändrade filer med 1 tillägg och 1 borttagningar
  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>