feat: remove old password requirement, fix user info display, and add password change reminder on home page

This commit is contained in:
DXC
2026-03-23 11:52:30 +08:00
parent ec5331ffb3
commit 719fe108ba
4 changed files with 52 additions and 51 deletions

View File

@ -36,6 +36,11 @@
借库申请
</el-button>
</div>
<!-- 修改密码温馨提示 -->
<div class="password-tip">
💡 提示为了您的账号安全请点击右上角<strong>个人头像</strong>修改默认登录密码
</div>
</div>
</el-card>
@ -415,6 +420,22 @@ const handleNav = (path: string) => {
flex-wrap: wrap; /* 防止屏幕过窄时按钮挤压 */
}
/* 修改密码温馨提示 */
.password-tip {
text-align: center;
font-size: 13px;
color: #909399;
margin-top: 20px;
padding: 10px 16px;
background-color: #f4f4f5;
border-radius: 6px;
line-height: 1.6;
}
.password-tip strong {
color: #409eff;
}
/* 给按钮加一点悬浮效果 */
.el-button {
transition: all 0.3s;