diff --git a/src/views/class/index.vue b/src/views/class/index.vue index 228e376..3f38e20 100644 --- a/src/views/class/index.vue +++ b/src/views/class/index.vue @@ -33,12 +33,14 @@ const tableData: TableConfig = { operationColumn: true, // 显示操作按钮 operationColumnData: [ { + perms: "班级修改", // 操作按钮 topBtn: false, // 是头部按钮 label: "修改", btnType: "edit", // 按钮类型 add edit del custom }, { + perms: "班级新增", topBtn: true, // 头部按钮 label: "新增", btnType: "custom", // 按钮类型 add edit del custom @@ -52,6 +54,7 @@ const tableData: TableConfig = { }, }, { + perms: "班级删除", topBtn: false, // 头部按钮 show: true, label: "删除", diff --git a/src/views/menu/index.vue b/src/views/menu/index.vue index 4a7a9ca..ef6f80f 100644 --- a/src/views/menu/index.vue +++ b/src/views/menu/index.vue @@ -18,6 +18,7 @@ :expand-on-click-node="false" show-checkbox ref="treeRef" + :check-strictly="true" :class="isAuthorized ? `menu-tree menu-tree1` : `menu-tree`" >