fix: 登录密码输入框类型修改
This commit is contained in:
parent
df854b12c5
commit
6470ca86db
@ -37,7 +37,7 @@ service.interceptors.request.use(
|
|||||||
// response 拦截器
|
// response 拦截器
|
||||||
service.interceptors.response.use(
|
service.interceptors.response.use(
|
||||||
(response) => {
|
(response) => {
|
||||||
if ([2000].includes(response.data.code)) {
|
if ([2000, 2007].includes(response.data.code)) {
|
||||||
// 需要重新登录的code
|
// 需要重新登录的code
|
||||||
// router.push(`/login?redirect=${router.currentRoute.value.fullPath}`);
|
// router.push(`/login?redirect=${router.currentRoute.value.fullPath}`);
|
||||||
if (["App", "PcClient"].includes(terminalType)) {
|
if (["App", "PcClient"].includes(terminalType)) {
|
||||||
|
|||||||
@ -9,7 +9,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<label>密码</label>
|
<label>密码</label>
|
||||||
<input placeholder="请输入密码" v-model.trim="fromData.password" />
|
<input
|
||||||
|
type="password"
|
||||||
|
placeholder="请输入密码"
|
||||||
|
v-model.trim="fromData.password"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="input-group">
|
<!-- <div class="input-group">
|
||||||
<label>验证码</label>
|
<label>验证码</label>
|
||||||
@ -142,6 +146,7 @@ h2 {
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
background: none;
|
background: none;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
input::placeholder {
|
input::placeholder {
|
||||||
color: rgb(179, 179, 179);
|
color: rgb(179, 179, 179);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user