chore: 权限

This commit is contained in:
dap 2024-10-07 19:35:54 +08:00
parent 1f79c08078
commit 19b6b2c325

View File

@ -181,7 +181,7 @@ function isImageFile(ext: string) {
> >
{{ $t('pages.common.delete') }} {{ $t('pages.common.delete') }}
</a-button> </a-button>
<a-button> 上传 没做 </a-button> <a-button v-access:code="['system:oss:upload']"> 上传 没做 </a-button>
</Space> </Space>
</template> </template>
<template #url="{ row }"> <template #url="{ row }">
@ -195,7 +195,7 @@ function isImageFile(ext: string) {
<template #action="{ row }"> <template #action="{ row }">
<Space> <Space>
<ghost-button <ghost-button
v-access:code="['system:oss:edit']" v-access:code="['system:oss:download']"
@click="handleDownload(row)" @click="handleDownload(row)"
> >
{{ $t('pages.common.download') }} {{ $t('pages.common.download') }}