vue3:修改 detail 的权限校验

pull/2/head
YunaiV 2022-11-16 10:07:24 +08:00
parent 2c32289c4a
commit b98a61f88f
7 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:error-code:update']" v-hasPermi="['system:error-code:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<!-- 操作删除 --> <!-- 操作删除 -->

View File

@ -24,7 +24,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:notice:update']" v-hasPermi="['system:notice:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<!-- 操作删除 --> <!-- 操作删除 -->

View File

@ -34,7 +34,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:oauth2-client:update']" v-hasPermi="['system:oauth2-client:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<!-- 操作删除 --> <!-- 操作删除 -->

View File

@ -32,7 +32,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:post:update']" v-hasPermi="['system:post:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<!-- 操作删除 --> <!-- 操作删除 -->

View File

@ -22,7 +22,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:role:update']" v-hasPermi="['system:role:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<XTextButton <XTextButton

View File

@ -24,7 +24,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:sms-channel:update']" v-hasPermi="['system:sms-channel:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<!-- 操作删除 --> <!-- 操作删除 -->

View File

@ -30,7 +30,7 @@
<XTextButton <XTextButton
preIcon="ep:view" preIcon="ep:view"
:title="t('action.detail')" :title="t('action.detail')"
v-hasPermi="['system:sms-template:update']" v-hasPermi="['system:sms-template:query']"
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<!-- 操作删除 --> <!-- 操作删除 -->