feat: 新增按钮授权
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 7m2s

This commit is contained in:
sexygoat
2026-04-22 15:26:55 +08:00
parent bce9054b82
commit 8378d2228e

View File

@@ -29,7 +29,7 @@
link link
class="package-name-link" class="package-name-link"
@click="handleShowDailyRecords(scope.row)" @click="handleShowDailyRecords(scope.row)"
v-permission="'package-usage:daily-records:view'" v-permission="'package_usage:daily_records'"
> >
{{ scope.row.package_name }} {{ scope.row.package_name }}
</ElButton> </ElButton>
@@ -105,13 +105,13 @@
{{ formatDateTime(scope.row.expires_at) }} {{ formatDateTime(scope.row.expires_at) }}
</template> </template>
</ElTableColumn> </ElTableColumn>
<ElTableColumn label="操作" width="100" align="center" fixed="right"> <ElTableColumn label="操作" width="100" fixed="right">
<template #default="scope"> <template #default="scope">
<ElButton <ElButton
type="primary" type="primary"
link link
@click="handleShowDailyRecords(scope.row)" @click="handleShowDailyRecords(scope.row)"
v-permission="'package-usage:daily-records:view'" v-permission="'package_usage:daily_records'"
> >
流量详单 流量详单
</ElButton> </ElButton>