feat: recycle system
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user