gcz 4 anos atrás
pai
commit
afa38a624a
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/router/index.js

+ 2 - 1
src/router/index.js

@@ -52,7 +52,8 @@ export const asyncRouterMap = [
         path: 'addProduct',
         name: 'addProduct',
         component: () => import('@/views/pms/product/add'),
-        meta: {title: '添加商品', icon: 'product-add'}
+        meta: {title: '添加商品', icon: 'product-add'},
+        hidden: true
       },
       {
         path: 'updateProduct',