文件记录删除添加权限
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-02-25 09:52:36 +08:00
parent 20aee53a3f
commit d61131ed61
1 changed files with 5 additions and 1 deletions

View File

@ -189,7 +189,11 @@
<el-button type="text" @click="handleEdit(scope.row)">
{{ $t('dictionary:file:button:edit') }}
</el-button>
<el-button type="text" @click="handleDelete(scope.row)">
<el-button
type="text"
@click="handleDelete(scope.row)"
v-if="hasPermi(['dictionary:template:file:del'])"
>
{{ $t('dictionary:file:button:delete') }}
</el-button>
</template>