Merge pull request 'master' (#101) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/101
This commit is contained in:
wenhua
2024-04-01 07:31:41 +00:00

View File

@@ -44,10 +44,10 @@
<el-table-column prop="createTime" label="创建时间"/>
<el-table-column label="操作" prop="operation" align="right">
<template #default="scope">
<el-button type="primary" size="mini" @click="handleAdd(scope.row)" link v-perm="['admin:menu:add']">新增
<el-button type="primary" v-if="scope.row.menuType!=='B'" @click="handleAdd(scope.row)" link v-perm="['admin:menu:add']">新增
</el-button>
<el-button type="primary" size="mini" @click="handleEdit(scope.row.menuId)" link v-perm="['admin:menu:edit']">修改</el-button>
<!-- <el-button type="primary" size="mini" @click="handleAssignRoles(scope.row)" link>分配角色</el-button> -->
<el-button type="primary" @click="handleEdit(scope.row.menuId)" link v-perm="['admin:menu:edit']">修改</el-button>
<!-- <el-button type="primary" @click="handleAssignRoles(scope.row)" link>分配角色</el-button> -->
<popover-delete :name="scope.row.menuName" :type="'菜单'" @delete="handleDel(scope.row.menuId)" :perm="['admin:menu:del']" />
</template>
</el-table-column>