Selaa lähdekoodia

🐞 fix(【drp-产品标识附件查询】): 页面免登录

产品标识附件查询页面免登录配置
002390 1 vuosi sitten
vanhempi
commit
bb02c68327
2 muutettua tiedostoa jossa 10 lisäystä ja 1 poistoa
  1. 5 1
      src/permission.js
  2. 5 0
      src/router/index.js

+ 5 - 1
src/permission.js

@@ -8,7 +8,11 @@ import { isRelogin } from '@/utils/request'
 
 NProgress.configure({ showSpinner: false })
 
-const whiteList = ['/login', '/register', '/test01', '/ehrentrance', '/contractBacklogEntry', '/business/ehr/ehrpm-entrance', '/canteenAddFood', '/canteenAddMenu', '/menuScreen', '/foodScreen', '/business/wms/historical-route', '/business/SupAtttachment', '/business/purchase/form/transferOrder/bipPull-entrance', '/contractDetail', '/spdAddQuestion']
+const whiteList = ['/login', '/register', '/test01', '/ehrentrance', '/contractBacklogEntry',
+  '/business/ehr/ehrpm-entrance', '/canteenAddFood', '/canteenAddMenu', '/menuScreen',
+  '/foodScreen', '/business/wms/historical-route', '/business/SupAtttachment',
+  '/business/purchase/form/transferOrder/bipPull-entrance', '/contractDetail',
+  '/spdAddQuestion', '/business/wms/ProductMarking']
 
 router.beforeEach((to, from, next) => {
   NProgress.start()

+ 5 - 0
src/router/index.js

@@ -152,6 +152,11 @@ export const constantRoutes = [
     hidden: true
   },
   {
+    path: '/business/wms/ProductMarking',
+    component: () => import('@/views/WMS/product-marking/index'),
+    hidden: true
+  },
+  {
     path: '/404',
     component: () => import('@/views/error/404'),
     hidden: true