fix: 修正全系統側邊欄捲軸重置問題
在所有報表與管理頁面的 router.get 調用中加入 preserveScroll: true。 受影響模組包括: - 財務管理 (會計報表、公用事業費) - 庫存管理 (庫存查詢、倉庫管理、進貨、調整、調撥) - 生產管理 (工單管理、配方管理) - 採購管理 (採購單) - 銷售與發貨管理 (銷售單、發貨單、匯入管理) - 系統管理 (使用者、角色、操作紀錄)
This commit is contained in:
@@ -102,6 +102,7 @@ export default function Index({ docs, warehouses, filters }: { docs: DocsPaginat
|
||||
router.get(route('inventory.adjust.index'), params as any, {
|
||||
preserveState: true,
|
||||
replace: true,
|
||||
preserveScroll: true,
|
||||
});
|
||||
}, 300),
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user