菜单选择设置默认值

This commit is contained in:
RuoYi
2018-08-08 20:58:47 +08:00
parent c42f2d9f3a
commit 6bf77f610e
2 changed files with 3 additions and 3 deletions

View File

@@ -178,7 +178,7 @@ public class MenuController extends BaseController
@GetMapping("/selectMenuTree/{menuId}")
public String selectMenuTree(@PathVariable("menuId") Long menuId, ModelMap mmap)
{
mmap.put("treeName", menuService.selectMenuById(menuId).getMenuName());
mmap.put("menu", menuService.selectMenuById(menuId));
return prefix + "/tree";
}
}