From 7ccfd74b8722abc0c98153faa9b8e7eab3cd3300 Mon Sep 17 00:00:00 2001 From: zhaochencheng Date: Mon, 9 Jan 2023 18:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81mall=E8=B4=A6=E6=88=B7?= =?UTF-8?q?=E8=83=BD=E7=9C=8B=E5=88=B0=E7=BC=96=E8=BE=91=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- src/views/pms/brand/index.vue | 3 --- src/views/pms/product/index.vue | 4 +--- src/views/pms/productCategory/index.vue | 3 --- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 28ccdaa..0a2ee16 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -166,7 +166,7 @@ export const dynamicRoutes = [ path: '/product', component: Layout, hidden: true, - permissions: ['pms:product:add'], + permissions: ['pms:product:list'], children: [ { path: 'edit', diff --git a/src/views/pms/brand/index.vue b/src/views/pms/brand/index.vue index e67f06d..5f259e9 100644 --- a/src/views/pms/brand/index.vue +++ b/src/views/pms/brand/index.vue @@ -28,7 +28,6 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['pms:brand:add']" >新增 @@ -54,14 +53,12 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['pms:brand:edit']" >修改 删除 diff --git a/src/views/pms/product/index.vue b/src/views/pms/product/index.vue index d58de6e..732a06b 100644 --- a/src/views/pms/product/index.vue +++ b/src/views/pms/product/index.vue @@ -55,7 +55,7 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['pms:product:add']" + >新增 @@ -97,14 +97,12 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['pms:product:edit']" >修改 删除 diff --git a/src/views/pms/productCategory/index.vue b/src/views/pms/productCategory/index.vue index 2019c6d..9c67951 100644 --- a/src/views/pms/productCategory/index.vue +++ b/src/views/pms/productCategory/index.vue @@ -30,7 +30,6 @@ icon="el-icon-plus" size="mini" @click="handleAdd" - v-hasPermi="['pms:productCategory:add']" >新增 @@ -61,7 +60,6 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" - v-hasPermi="['pms:productCategory:edit']" >修改 删除