|
@@ -20,7 +20,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="setMenuRole(scope.row.adminRoleId)">设置权限</el-button>
|
|
|
<el-button type="text" @click="addOrEdit('edit', scope.row.adminRoleId)" v-if="scope.row.adminRoleId != 1">编辑</el-button>
|
|
|
- <el-popconfirm style="margin-left: 10px;" title="确定删除吗?" @onConfirm="handleDelete(scope.row.adminRoleId)" v-if="scope.row.adminRoleId != 1">
|
|
|
+ <el-popconfirm style="margin-left: 10px;" title="确定删除吗?" @confirm="handleDelete(scope.row.adminRoleId)" v-if="scope.row.adminRoleId != 1">
|
|
|
<el-button slot="reference" type="text">删除</el-button>
|
|
|
</el-popconfirm>
|
|
|
</template>
|