feat:监控模块按钮权限

This commit is contained in:
zhongzm
2025-09-12 17:09:17 +08:00
parent 05d59ec526
commit 5839aa3cb1
6 changed files with 21 additions and 9 deletions

View File

@@ -62,9 +62,9 @@ function fnUpload(up: UploadRequestOption) {
:before-upload="fnBeforeUpload"
:custom-request="fnUpload"
>
<a-button type="primary"> Upload </a-button>
<a-button type="primary" v-perms:has="['traceManage:tshark:edit']"> Upload </a-button>
</a-upload>
<a-button @click="handleLoadExample()">Example</a-button>
<a-button @click="handleLoadExample()" v-perms:has="['traceManage:tshark:example']">Example</a-button>
</a-space>
</template>
<!-- 插槽-卡片右侧 -->