dytyqx
4 天以前 65ad2e22d048ec8e89d1d0319bef2452f40d3289
src/permission.js
@@ -27,7 +27,8 @@
  "/FbStepFoldOutBillList",
  "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong",
  "/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin",
  "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin"
  "/warehouse/barcodeMaster/Gy_BarCodeBillList_JinLong_AutoLogin",
  "/printDesigner"
]; // no redirect whitelist
const isWhiteList = (path) => {
@@ -54,7 +55,7 @@
        // 判断当前用户是否已拉取完user_info信息
        store .dispatch("GetInfo").then(() => {
            isRelogin.show = false;
            store.dispatch("GenerateRoutes").then((accessRoutes) => {
              // 根据roles权限生成可访问的路由表
              router.addRoutes(accessRoutes); // 动态添加可访问路由表