src/main/webapp/views/index.html
@@ -147,7 +147,7 @@ $('#hostName').text(res.data.hostName); } if (res.data.root) { showHost(); // showHost(); } } else if (res.code === 403) { top.location.href = baseUrl + "/login"; @@ -159,7 +159,8 @@ // 默认加载主页 index.loadHome({ menuPath: baseUrl+'/views/home/console.html', // menuPath: baseUrl+'/views/home/console.html', menuPath: baseUrl+'/views/home/dashboard.html', menuName: '<i class="layui-icon layui-icon-home"></i>' });