fix: 登录密码输入框类型修改

This commit is contained in:
kaizheng(郑凯) 2025-02-25 12:12:38 +08:00
parent df854b12c5
commit 6470ca86db
2 changed files with 7 additions and 2 deletions

View File

@ -37,7 +37,7 @@ service.interceptors.request.use(
// response 拦截器
service.interceptors.response.use(
(response) => {
if ([2000].includes(response.data.code)) {
if ([2000, 2007].includes(response.data.code)) {
// 需要重新登录的code
// router.push(`/login?redirect=${router.currentRoute.value.fullPath}`);
if (["App", "PcClient"].includes(terminalType)) {

View File

@ -9,7 +9,11 @@
</div>
<div class="input-group">
<label>密码</label>
<input placeholder="请输入密码" v-model.trim="fromData.password" />
<input
type="password"
placeholder="请输入密码"
v-model.trim="fromData.password"
/>
</div>
<!-- <div class="input-group">
<label>验证码</label>
@ -142,6 +146,7 @@ h2 {
font-style: normal;
font-weight: 400;
background: none;
border: none;
}
input::placeholder {
color: rgb(179, 179, 179);