Commit 32c31686 by 姜雷

修改刷新机制

parent ad1491ba
......@@ -86,10 +86,6 @@ Component({
observer(newVal) {
if (platforFeeChart) {
platforFeeChart.changeData(newVal);
} else {
setTimeout(() => {
platforFeeChart.changeData(newVal);
}, 1000);
}
if (platforFeeChart) {
let index = findMaxIndex(newVal, 'totalMoney');
......
......@@ -23,7 +23,7 @@
<view class="platformFee-title-sum">合计:{{selected.totalMoney}}元</view>
</view>
<view class="platformFee-areaList">
<view class="platformFee-areaItem" wx:for="{{selected.areaPlatformFees}}">
<view class="platformFee-areaItem" wx:for="{{selected.areaPlatformFees}}" wx:key="areaId">
<view class="platformFee-areaItem-index">{{index + 1}}</view>
<view class="platformFee-areaItem-name">{{item.areaName}}</view>
<view class="platformFee-areaItem-price">{{item.totalMoney}}元</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment