feat:恢复权限

This commit is contained in:
dzc committed 2025-01-23 17:46:46 +08:00
1 parent 043ec31386
commit 1adf4d7fd8
1 file changed
+6 -9
@@ -109,19 +109,16 @@
<div class="color-success">{{ displayPrice(row.price) }}</div>
</template>
</el-table-column>
<el-table-column label="操作" width="200">
<el-table-column v-auths="['wallet_walletRechargeImport_recover']" label="操作" width="200">
<template #default="{ row }">
<!-- <el-button
v-if="false"
icon="delete"
<el-button
v-auth="'wallet_walletRechargeImport_recover'"
icon="RefreshRight"
text
type="primary"
v-auth="'wallet_walletRechargeApply_del'"
@click="handleDelete([row.id])"
@click="handleRecover(row.id)"
>恢复</el-button
>
删除</el-button
> -->
<el-button icon="RefreshRight" text type="primary" @click="handleRecover(row.id)">恢复</el-button>
</template>
</el-table-column>
</el-table>