优化首页导航条

This commit is contained in:
季圣华
2020-07-07 22:43:12 +08:00
parent 72ecd83aca
commit 50a016c549
2 changed files with 20 additions and 5 deletions

View File

@@ -12,6 +12,11 @@ $.ajax({
if (user.username) {
$(".main-header .user-menu .hidden-xs,.main-sidebar .info p").text(user.username);
}
if(user.id==user.tenantId) {
$("#newHand").show();
} else {
$("#newHand").hide();
}
}
} else {
top.location.href = '/login.html';