vue3:修改 detail 的权限校验

plp
YunaiV 3 years ago
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…
Cancel
Save