Explorar el Código

项目总计取第一条数据sequence1字段

xiaohaizhao hace 2 años
padre
commit
fa9b6f396b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packageA/salesHourglass/index.wxml

+ 1 - 1
packageA/salesHourglass/index.wxml

@@ -11,7 +11,7 @@
     <f2 onRender="{{onRenderChart}}" />
 </view>
 <view class="tips">
-    项目总计:{{full||0}}
+    项目总计:{{statistics.length ? statistics[0].sequence1 : 0}}
 </view>
 <view class="item" wx:for="{{statistics}}" wx:key="stagename">
     <view class="label">{{item.stagename}}</view>