chenhaozhe
2025-11-10 1f0bc7f2cf56b601595410ebf4d4bdc00ba9314c
src/permission.js
@@ -10,7 +10,8 @@
NProgress.configure({ showSpinner: false })
const whiteList = ['/sellOutBill', '/sellBill', '/sellOutBillEdit', '/login', '/register', '/printList',
  '/hBarPlanPrint', '/gySource', '/gyWarehouse', '/gyStockPlace', '/gyEmployee']
  '/hBarPlanPrint', '/gySource', '/gyWarehouse', '/gyStockPlace', '/gyEmployee', '/cgPoOrderBillList',
  '/cgPoInStockBillList']
const isWhiteList = (path) => {
  return whiteList.some(pattern => isPathMatch(pattern, path))