feat: recycle system

This commit is contained in:
Timi
2026-11-12 16:51:57 +08:00
parent b1ba681042
commit 7e221e745a
90 changed files with 5981 additions and 3542 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ const userStore = useUserStore();
/** 与 AppShell 内部的断点参数保持一致,用于判断页面是否需要底部留白。 */
const { railVisible } = useLayout({ tablet: true });
const cachedRouteNames = new Set(["EventRecordRank", "SalesOrderList", "ProductList", "ProductStockList", "ProductStockBatchSelect", "ProductStockBatchConfigure"]);
const cachedRouteNames = new Set(["EventRecordRank", "SalesOrderList", "ProductList", "ProductStockList", "ProductStockBatchSelect", "ProductStockBatchConfigure", "RecycleRuleList", "RecycleItemList"]);
function shouldKeepAlive(sourceRoute: RouteLocationNormalizedLoaded): boolean {
return cachedRouteNames.has(String(sourceRoute.name));