This commit is contained in:
linfeng 2023-06-16 09:46:20 +08:00
parent f3962be734
commit 5f986bd508
3 changed files with 3 additions and 10 deletions

View File

@ -1,4 +1,3 @@
package io.linfeng.modules.sys.controller; package io.linfeng.modules.sys.controller;

View File

@ -63,8 +63,6 @@ public class SysMenuController extends AbstractController {
} }
} }
return menuList; return menuList;
} }
@ -140,9 +138,6 @@ public class SysMenuController extends AbstractController {
@PostMapping("/delete/{menuId}") @PostMapping("/delete/{menuId}")
@RequiresPermissions("sys:menu:delete") @RequiresPermissions("sys:menu:delete")
public R delete(@PathVariable("menuId") long menuId){ public R delete(@PathVariable("menuId") long menuId){
// if(menuId <= 31){
// return R.error("系统菜单,不能删除");
// }
//判断是否有子菜单或按钮 //判断是否有子菜单或按钮
List<SysMenuEntity> menuList = sysMenuService.queryListParentId(menuId); List<SysMenuEntity> menuList = sysMenuService.queryListParentId(menuId);

View File

@ -89,8 +89,7 @@
if (this.pageCurrent == 0) { if (this.pageCurrent == 0) {
this.page++; this.page++;
this.getPostList() this.getPostList()
} } else if (this.pageCurrent == 1) {
if (this.pageCurrent == 1) {
this.userList = []; this.userList = [];
this.getUserRanking(); this.getUserRanking();
} }
@ -162,7 +161,7 @@
this.loadPostStatus = 'loadmore'; this.loadPostStatus = 'loadmore';
} }
}); });
}, }
} }
} }
</script> </script>
@ -246,4 +245,4 @@
margin: 30rpx 0; margin: 30rpx 0;
} }
} }
</style> </style>