Commit b98a61f88f2a342f8bb03f01b1be76250ff1b3cc
1 parent
2c32289c
vue3:修改 detail 的权限校验
Showing
7 changed files
with
7 additions
and
7 deletions
yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | <XTextButton | 24 | <XTextButton |
| 25 | preIcon="ep:view" | 25 | preIcon="ep:view" |
| 26 | :title="t('action.detail')" | 26 | :title="t('action.detail')" |
| 27 | - v-hasPermi="['system:error-code:update']" | 27 | + v-hasPermi="['system:error-code:query']" |
| 28 | @click="handleDetail(row.id)" | 28 | @click="handleDetail(row.id)" |
| 29 | /> | 29 | /> |
| 30 | <!-- 操作:删除 --> | 30 | <!-- 操作:删除 --> |
yudao-ui-admin-vue3/src/views/system/notice/index.vue
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | <XTextButton | 24 | <XTextButton |
| 25 | preIcon="ep:view" | 25 | preIcon="ep:view" |
| 26 | :title="t('action.detail')" | 26 | :title="t('action.detail')" |
| 27 | - v-hasPermi="['system:notice:update']" | 27 | + v-hasPermi="['system:notice:query']" |
| 28 | @click="handleDetail(row.id)" | 28 | @click="handleDetail(row.id)" |
| 29 | /> | 29 | /> |
| 30 | <!-- 操作:删除 --> | 30 | <!-- 操作:删除 --> |
yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
| @@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
| 34 | <XTextButton | 34 | <XTextButton |
| 35 | preIcon="ep:view" | 35 | preIcon="ep:view" |
| 36 | :title="t('action.detail')" | 36 | :title="t('action.detail')" |
| 37 | - v-hasPermi="['system:oauth2-client:update']" | 37 | + v-hasPermi="['system:oauth2-client:query']" |
| 38 | @click="handleDetail(row.id)" | 38 | @click="handleDetail(row.id)" |
| 39 | /> | 39 | /> |
| 40 | <!-- 操作:删除 --> | 40 | <!-- 操作:删除 --> |
yudao-ui-admin-vue3/src/views/system/post/index.vue
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | <XTextButton | 32 | <XTextButton |
| 33 | preIcon="ep:view" | 33 | preIcon="ep:view" |
| 34 | :title="t('action.detail')" | 34 | :title="t('action.detail')" |
| 35 | - v-hasPermi="['system:post:update']" | 35 | + v-hasPermi="['system:post:query']" |
| 36 | @click="handleDetail(row.id)" | 36 | @click="handleDetail(row.id)" |
| 37 | /> | 37 | /> |
| 38 | <!-- 操作:删除 --> | 38 | <!-- 操作:删除 --> |
yudao-ui-admin-vue3/src/views/system/role/index.vue
| @@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
| 22 | <XTextButton | 22 | <XTextButton |
| 23 | preIcon="ep:view" | 23 | preIcon="ep:view" |
| 24 | :title="t('action.detail')" | 24 | :title="t('action.detail')" |
| 25 | - v-hasPermi="['system:role:update']" | 25 | + v-hasPermi="['system:role:query']" |
| 26 | @click="handleDetail(row.id)" | 26 | @click="handleDetail(row.id)" |
| 27 | /> | 27 | /> |
| 28 | <XTextButton | 28 | <XTextButton |
yudao-ui-admin-vue3/src/views/system/sms/smsChannel/index.vue
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | <XTextButton | 24 | <XTextButton |
| 25 | preIcon="ep:view" | 25 | preIcon="ep:view" |
| 26 | :title="t('action.detail')" | 26 | :title="t('action.detail')" |
| 27 | - v-hasPermi="['system:sms-channel:update']" | 27 | + v-hasPermi="['system:sms-channel:query']" |
| 28 | @click="handleDetail(row.id)" | 28 | @click="handleDetail(row.id)" |
| 29 | /> | 29 | /> |
| 30 | <!-- 操作:删除 --> | 30 | <!-- 操作:删除 --> |
yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | <XTextButton | 30 | <XTextButton |
| 31 | preIcon="ep:view" | 31 | preIcon="ep:view" |
| 32 | :title="t('action.detail')" | 32 | :title="t('action.detail')" |
| 33 | - v-hasPermi="['system:sms-template:update']" | 33 | + v-hasPermi="['system:sms-template:query']" |
| 34 | @click="handleDetail(row.id)" | 34 | @click="handleDetail(row.id)" |
| 35 | /> | 35 | /> |
| 36 | <!-- 操作:删除 --> | 36 | <!-- 操作:删除 --> |