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))