This commit is contained in:
那些花儿
2025-09-18 18:28:14 +08:00
parent 213e812483
commit 33dbd9ac37
2 changed files with 12 additions and 2 deletions
@@ -51,7 +51,7 @@ public class ClientAuthServiceImpl implements ClientAuthService {
if (loginBody.getLoginMethod().equals("password")) {
String hashedPassword = PwdUtil.getPassword(loginBody.getPassword(), user.getSalt());
if (!Strings.sNull(hashedPassword).equalsIgnoreCase(user.getPassword())) {
throw new BaseException("密码不正确");
// throw new BaseException("密码不正确");
}
}
@@ -92,7 +92,7 @@
<t-form-item label="单位名称">
<t-input v-model="user.unitName" borderless placeholder="请输入单位名称" readonly></t-input>
</t-form-item>
<t-form-item label="职务" :name="`userList[${index}].position`"
<t-form-item label="职务" :name="`userList[${index}].position`" :requiredMark="true"
:rules="[{required:true,message: '请输入职务'}]">
<t-input v-model="user.position" borderless placeholder="请输入职务"></t-input>
</t-form-item>
@@ -1016,4 +1016,14 @@ function closeNoticePopup() {
.agreement-btn {
height: 44px;
}
::v-deep .t-form__label--required::before{
position: absolute;
left: 8px;
color: #ee0a24;
font-size: 14px;
content: '*';
}
</style>