效果图
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.thymeleaf.org ">
<head>
<meta charset="utf-8"/>
<title>菜单管理</title>
</head>
<style type="text/css">
.table {
table-layout: fixed;
}
.treegrid-tbody td {
border: 0 !important;
border-left: 1px solid #e7eaec !important;
border-bottom: 1px solid #e7eaec !important;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
</style>
<body>
<!--bug 要实现效果,需要将js css 放进body-->
<link th:href="@{/assets/plugins/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet">
<link rel="stylesheet" th:href="@{/assets/plugins/bootstrap-table/jquery.treegrid.min.css}">
<ol class="breadcrumb">
<li class="active"></li>
<li class="active">菜单管理</li>
</ol>
<div id="main">
<div class="form-group">
<div>
<a role="button" onclick="doEdit(0)