Vant中List组件immediate-check=false无效的问题
使用vant中的List组件时,会有这样的场景初始化时想自己触发列表查询,而不想触发 List 组件自带的 load 方法,这时可以设置 immediate-check=false,如下代码,但是这种方式会在下面的场景中出现问题 <van-list ref="vanlist" v-model="loading" :finished="finished" finished-text="已显示全部周报" :error.sync="error"
原创
2020-09-04 23:35:10 ·
4349 阅读 ·
2 评论