fix:修复分销中心实时动态显示问题

pull/8/head
kele 2023-01-16 15:04:20 +08:00
parent c6bd290f8e
commit 0b7cd120a0
1 changed files with 31 additions and 28 deletions

View File

@ -14,6 +14,7 @@
class="scroll-box log-scroll" class="scroll-box log-scroll"
scroll-with-animation="true" scroll-with-animation="true"
> >
<view v-if="state.pagination.data">
<view <view
class="log-item-box ss-flex ss-row-between" class="log-item-box ss-flex ss-row-between"
v-for="item in state.pagination.data" v-for="item in state.pagination.data"
@ -46,6 +47,8 @@
</view> </view>
<text class="log-time">{{ dayjs(item.create_time).fromNow() }}</text> <text class="log-time">{{ dayjs(item.create_time).fromNow() }}</text>
</view> </view>
</view>
<!-- 加载更多 --> <!-- 加载更多 -->
<uni-load-more <uni-load-more
v-if="state.pagination.total > 0" v-if="state.pagination.total > 0"