chore: 权限
This commit is contained in:
parent
1f79c08078
commit
19b6b2c325
@ -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') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user