hookehuyr

fix 购物车列表一次性全查出来

<!--
* @Date: 2024-07-23 12:53:15
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-24 18:26:06
* @LastEditTime: 2024-07-25 13:21:17
* @FilePath: /temple_material_request/src/views/material_pre_request.vue
* @Description: 待申领物资页面
-->
......@@ -29,12 +29,6 @@
</van-col>
</van-row>
</van-sticky>
<van-list
v-model:loading="loading"
:finished="finished"
finished-text="没有更多了"
@load="onLoad"
>
<div v-for="item in list" :id="item.id" :key="item" class="list-boxer">
<van-row align="center" justify="space-between">
<van-col span="16" style="display: flex;">
......@@ -64,7 +58,6 @@
</van-row>
<div v-if="item.error" style="padding: 0.5rem 2rem 0 0; font-size: 0.85rem; color: red; text-align: right;">输入值有误</div>
</div>
</van-list>
<div style="height: 6rem;"></div>
<div style="position: fixed; left: 0; right: 0; bottom:4.5rem; padding: 1rem;">
<van-button icon="plus" type="primary" :color="styleColor.baseColor" plain block @click="addMore">添加更多</van-button>
......@@ -287,7 +280,9 @@ const onConfirm = ({ selectedValues, selectedOptions }) => {
};
onMounted(() => {
minDate.value = new Date()
minDate.value = new Date();
// 测试
onLoad()
})
const addMore = () => { // 添加更多回调
......