fix(dict.vue):不能批量删除的问题

This commit is contained in:
有来技术
2021-12-11 22:52:56 +08:00
parent 556cd58f5f
commit f50a829901
4 changed files with 14 additions and 13 deletions

View File

@@ -4,19 +4,20 @@
<el-col :span="10" :xs="24">
<el-card class="box-card" shadow="always">
<template #header>
<svg-icon color="#000" icon-class="menu"/> 菜单列表
<svg-icon color="#333" icon-class="menu"/> 菜单列表
</template>
<menu-table @menuClick="handleMenuClick"/>
</el-card>
</el-col>
<el-col :span="14" :xs="24">
<el-card class="box-card" shadow="always">
<div slot="header">
<template #header>
<svg-icon color="#333" icon-class="perm"/>
<b v-if=" state.dictCode" style="margin-right: 5px">菜单</b>
<el-tag type="success" v-if=" state.dictCode"><b>{{ state.dictName }}</b></el-tag>
<b v-if=" state.dictCode" style="margin-left: 5px">数据权限</b>
<el-tag type="warning" v-if=" !state.dictCode">未选择菜单</el-tag>
</div>
<b v-if=" state.dictCode" style="margin-left: 5px"></b>
<el-tag type="warning" v-if=" !state.dictCode" size="small">权限列表</el-tag>
</template>
<perm-table :menuId="state.menuId" :menuName="state.menuName"/>
</el-card>
</el-col>