瀏覽代碼

注册密码自动填充问题

zhangxc 6 年之前
父節點
當前提交
5f82d7b4f6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/register/Register.vue

+ 1 - 0
src/components/register/Register.vue

@@ -26,6 +26,7 @@
 							<input type="tel" :class="[{ 'error': phoneErrText}]" name="" v-model="phone" maxlength="11" @input="handleTelInput"
 							<input type="tel" :class="[{ 'error': phoneErrText}]" name="" v-model="phone" maxlength="11" @input="handleTelInput"
                                @blur="checkPhone" placeholder="请输入手机号">
                                @blur="checkPhone" placeholder="请输入手机号">
 							<span class="tips" v-show="phoneErrText">{{phoneErrText}}</span>
 							<span class="tips" v-show="phoneErrText">{{phoneErrText}}</span>
+              <input type="password" style="display: none"/>
 						</div>
 						</div>
               <div class="phoneBox">
               <div class="phoneBox">
                 <input type="password" :class="[{ 'error': pswErrText}]" name="" v-model="psw" minlength="6" maxlength="16" readonly onfocus="this.removeAttribute('readonly')" @blur="checkPsw" placeholder="请输入密码">
                 <input type="password" :class="[{ 'error': pswErrText}]" name="" v-model="psw" minlength="6" maxlength="16" readonly onfocus="this.removeAttribute('readonly')" @blur="checkPsw" placeholder="请输入密码">