feat: virtualize card grids

This commit is contained in:
jxxghp
2026-05-13 19:07:46 +08:00
parent a4a00586c7
commit 99665c7d79
9 changed files with 860 additions and 234 deletions

View File

@@ -1571,6 +1571,7 @@ function onDragStartPlugin(evt: any) {
:items="mixedSortList"
:get-item-key="item => `${item.type}:${item.id}`"
:min-item-width="256"
:estimated-item-height="180"
:scroll-to-index="installedScrollToIndex"
>
<template #default="{ item }">
@@ -1629,6 +1630,7 @@ function onDragStartPlugin(evt: any) {
:items="draggableFolderPlugins"
:get-item-key="item => item.id"
:min-item-width="256"
:estimated-item-height="180"
>
<template #default="{ item }">
<PluginMixedSortCard