Explorar o código

添加空数据代替

xiaohaizhao %!s(int64=2) %!d(string=hai) anos
pai
achega
6ea2b8441d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>