Commit b98a61f88f2a342f8bb03f01b1be76250ff1b3cc

Authored by YunaiV
1 parent 2c32289c

vue3:修改 detail 的权限校验

yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
... ... @@ -24,7 +24,7 @@
24 24 <XTextButton
25 25 preIcon="ep:view"
26 26 :title="t('action.detail')"
27   - v-hasPermi="['system:error-code:update']"
  27 + v-hasPermi="['system:error-code:query']"
28 28 @click="handleDetail(row.id)"
29 29 />
30 30 <!-- 操作:删除 -->
... ...
yudao-ui-admin-vue3/src/views/system/notice/index.vue
... ... @@ -24,7 +24,7 @@
24 24 <XTextButton
25 25 preIcon="ep:view"
26 26 :title="t('action.detail')"
27   - v-hasPermi="['system:notice:update']"
  27 + v-hasPermi="['system:notice:query']"
28 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 34 <XTextButton
35 35 preIcon="ep:view"
36 36 :title="t('action.detail')"
37   - v-hasPermi="['system:oauth2-client:update']"
  37 + v-hasPermi="['system:oauth2-client:query']"
38 38 @click="handleDetail(row.id)"
39 39 />
40 40 <!-- 操作:删除 -->
... ...
yudao-ui-admin-vue3/src/views/system/post/index.vue
... ... @@ -32,7 +32,7 @@
32 32 <XTextButton
33 33 preIcon="ep:view"
34 34 :title="t('action.detail')"
35   - v-hasPermi="['system:post:update']"
  35 + v-hasPermi="['system:post:query']"
36 36 @click="handleDetail(row.id)"
37 37 />
38 38 <!-- 操作:删除 -->
... ...
yudao-ui-admin-vue3/src/views/system/role/index.vue
... ... @@ -22,7 +22,7 @@
22 22 <XTextButton
23 23 preIcon="ep:view"
24 24 :title="t('action.detail')"
25   - v-hasPermi="['system:role:update']"
  25 + v-hasPermi="['system:role:query']"
26 26 @click="handleDetail(row.id)"
27 27 />
28 28 <XTextButton
... ...
yudao-ui-admin-vue3/src/views/system/sms/smsChannel/index.vue
... ... @@ -24,7 +24,7 @@
24 24 <XTextButton
25 25 preIcon="ep:view"
26 26 :title="t('action.detail')"
27   - v-hasPermi="['system:sms-channel:update']"
  27 + v-hasPermi="['system:sms-channel:query']"
28 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 30 <XTextButton
31 31 preIcon="ep:view"
32 32 :title="t('action.detail')"
33   - v-hasPermi="['system:sms-template:update']"
  33 + v-hasPermi="['system:sms-template:query']"
34 34 @click="handleDetail(row.id)"
35 35 />
36 36 <!-- 操作:删除 -->
... ...