更新 home.html

master
wangsiyuan 2023-12-25 23:02:08 +08:00
parent a303a65156
commit 9c4d5b8a7d
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
{{ session.nickname }}
</a>
<dl class="layui-nav-child">
<dd><a href="/profile">资料</a></dd> <!-- 修改这里的href指向/profile -->
<dd><a href="/home/profile">资料</a></dd> <!-- 修改这里的href指向/profile -->
<dd><a href="javascript:;" id="logoutLink">登出</a></dd>
</dl>
</li>
@ -55,7 +55,7 @@
// 动态添加菜单项
menuItems.forEach(function (item) {
menuList.append('<li class="layui-nav-item"><a href="' + item.link + '">' + item.name + '</a></li>');
menuList.append('<li class="layui-nav-item"><a href="' + item.path + '">' + item.name + '</a></li>');
});
// 更新菜单布局