fix
This commit is contained in:
@@ -93,7 +93,7 @@ const state = reactive({
|
||||
// 响应式搜索条件(可以被修改)
|
||||
const searchParams = ref({});
|
||||
const pageSize = ref(10);
|
||||
const { list, loading, refresh, loadMore } = usePagination(
|
||||
const { list, loading, refresh, loadMore,finished } = usePagination(
|
||||
(params) => $api.createRequest('/app/job/littleVideo', params),
|
||||
dataToImg, // 转换函数
|
||||
{
|
||||
@@ -107,7 +107,10 @@ const { list, loading, refresh, loadMore } = usePagination(
|
||||
);
|
||||
|
||||
function imageloaded() {
|
||||
loadmoreRef.value?.change('more');
|
||||
if(finished.value) loadmoreRef.value?.change('noMore');
|
||||
else loadmoreRef.value?.change('more');
|
||||
|
||||
|
||||
}
|
||||
|
||||
const { columnCount, columnSpace } = useColumnCount(() => {
|
||||
|
||||
Reference in New Issue
Block a user