duhe
2025-11-17 ef33455b1b2e08bb12bc3ea8d6734dd803736615
src/permission.js
@@ -10,7 +10,7 @@
NProgress.configure({ showSpinner: false })
const whiteList = [ '/login', '/register', '/printList',
  '/hBarPlanPrint', '/gySource', '/gyWarehouse', '/gyStockPlace', '/gyEmployee']
  '/hBarPlanPrint', '/gySource', '/gyWarehouse', '/gyStockPlace', '/gyEmployee','/GyCustomer','gyMaterial','FbStepFoldinBillList','/FbStepFoldOutBillList' ] // no redirect whitelist
const isWhiteList = (path) => {
  return whiteList.some(pattern => isPathMatch(pattern, path))