Browse Source

perf(views): 优化“登陆页”密码框显示

wangshun 2 days ago
parent
commit
f27d3be671
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/login-component/LoginView.vue

+ 2 - 2
src/views/login-component/LoginView.vue

@@ -101,7 +101,7 @@ const clickReturn = () => {
               </AInput>
             </AFormItem>
             <AFormItem :label="t('userManage.password')" name="password">
-              <AInput
+              <AInputPassword
                 class="input-width"
                 v-model:value="loginForm.password"
                 :placeholder="t('registerGateway.pleasePassword')"
@@ -109,7 +109,7 @@ const clickReturn = () => {
                 <template #prefix>
                   <SvgIcon name="password" class="icon-style" />
                 </template>
-              </AInput>
+              </AInputPassword>
             </AFormItem>
           </AForm>
           <AButton type="primary" class="button-style" @click="addLog">{{ t('logView.login') }}</AButton>