Commit 224a5cb9 by liangjianmin

fix(approve): update loadmore component visibility condition for approval list

- Change visibility condition of u-loadmore component to only display when currentList has 10 or more items, enhancing user experience by preventing unnecessary loading prompts for smaller lists.
parent b4717592
Showing with 1 additions and 1 deletions
......@@ -53,7 +53,7 @@
<u-empty v-if="!currentList.length" mode="data" :text="currentTab === 0 ? '暂无待处理审批' : '暂无已处理审批'" iconSize="140" textSize="24"></u-empty>
<u-loadmore v-if="currentList.length" :status="loadStatus" @loadmore="loadMore" marginTop="10" marginBottom="30" fontSize="28" iconSize="25" :line="true" lineColor="#e4e7ed"></u-loadmore>
<u-loadmore v-if="currentList.length >= 10" :status="loadStatus" @loadmore="loadMore" marginTop="10" marginBottom="30" fontSize="28" iconSize="25" :line="true" lineColor="#e4e7ed"></u-loadmore>
</template>
</view>
</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 sign in to comment