perf: 开启列表图片懒加载并优化分页大小

This commit is contained in:
DXC
2026-03-10 09:29:49 +08:00
parent 529b2a218a
commit 6fc6851e57
3 changed files with 6 additions and 3 deletions

View File

@ -185,6 +185,7 @@
:preview-src-list="getImagesOnly(scope.row[col.prop]).map(u => getImageUrl(u))"
preview-teleported
fit="cover"
lazy
>
<template #error>
<div class="image-slot"><el-icon><Picture /></el-icon></div>
@ -768,7 +769,7 @@ const companyOptions = ref<string[]>([])
const queryParams = reactive({
page: 1,
pageSize: 100,
pageSize: 50,
keyword: '',
sku: '',
category: '',