vue3:修改 detail 的权限校验
parent
2c32289c4a
commit
b98a61f88f
|
@ -24,7 +24,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:error-code:update']"
|
||||
v-hasPermi="['system:error-code:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<!-- 操作:删除 -->
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:notice:update']"
|
||||
v-hasPermi="['system:notice:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<!-- 操作:删除 -->
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:oauth2-client:update']"
|
||||
v-hasPermi="['system:oauth2-client:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<!-- 操作:删除 -->
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:post:update']"
|
||||
v-hasPermi="['system:post:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<!-- 操作:删除 -->
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:role:update']"
|
||||
v-hasPermi="['system:role:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<XTextButton
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:sms-channel:update']"
|
||||
v-hasPermi="['system:sms-channel:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<!-- 操作:删除 -->
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<XTextButton
|
||||
preIcon="ep:view"
|
||||
:title="t('action.detail')"
|
||||
v-hasPermi="['system:sms-template:update']"
|
||||
v-hasPermi="['system:sms-template:query']"
|
||||
@click="handleDetail(row.id)"
|
||||
/>
|
||||
<!-- 操作:删除 -->
|
||||
|
|
Loading…
Reference in New Issue