更新 announcement.html

master
wangsiyuan 2023-12-28 16:34:10 +08:00
parent 20bb7bd1f6
commit 1bb907c71e
1 changed files with 27 additions and 27 deletions

View File

@ -63,7 +63,7 @@
</fieldset>
</div>
</div>
</div>
</div>
</div>
</div>
@ -71,7 +71,7 @@
<script src="static/layui.js"></script>
<script>
// 请求后端获取菜单数据
$.get('/api/menu', function (menuItems) {
$.get('/api/menu', function (menuItems) {
var menuList = $('.layui-nav.layui-nav-tree');
menuList.empty();
@ -81,7 +81,7 @@ $.get('/api/menu', function (menuItems) {
});
layui.element.render('nav', 'test');
});
});
layui.use(['jquery'], function () {
var $ = layui.jquery; // 获取Layui的jQuery对象