bug--商品规格权限标识修改

This commit is contained in:
taochengbo
2020-07-21 21:47:46 +08:00
parent c3741f3621
commit a1fc3587b6
2 changed files with 7 additions and 7 deletions

View File

@ -73,9 +73,9 @@
return {
permission: {
add: ['admin', 'storeProductRule:add'],
edit: ['admin', 'storeProductRule:edit'],
del: ['admin', 'storeProductRule:del']
add: ['admin', 'yxStoreProductRule:add'],
edit: ['admin', 'yxStoreProductRule:edit'],
del: ['admin', 'yxStoreProductRule:del']
},
rules: {
ruleName: [

View File

@ -21,7 +21,7 @@
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column v-permission="['admin','storeProductRule:edit','storeProductRule:del']" label="操作" width="150px" align="center">
<el-table-column v-permission="['admin','yxStoreProductRule:edit','yxStoreProductRule:del']" label="操作" width="150px" align="center">
<template slot-scope="scope">
<udOperation
:data="scope.row"
@ -56,9 +56,9 @@ export default {
data() {
return {
permission: {
add: ['admin', 'storeProductRule:add'],
edit: ['admin', 'storeProductRule:edit'],
del: ['admin', 'storeProductRule:del']
add: ['admin', 'yxStoreProductRule:add'],
edit: ['admin', 'yxStoreProductRule:edit'],
del: ['admin', 'yxStoreProductRule:del']
}
}
},