This commit is contained in:
sjl
2024-12-04 20:00:15 +08:00
15 changed files with 118 additions and 84 deletions

View File

@@ -9,7 +9,7 @@
<!-- 表格 header 按钮 -->
<template #tableHeader='scope'>
<el-button v-auth.user="'add'" type='primary' :icon='CirclePlus' @click="openDialog('add')">新增</el-button>
<el-button v-auth.user="'batchDelete'" type='danger' :icon='Delete' plain :disabled='!scope.isSelected'
<el-button v-auth.user="'delete'" type='danger' :icon='Delete' plain :disabled='!scope.isSelected'
@click='batchDelete(scope.selectedListIds)'>
删除
</el-button>