Commit 3f4704c6 authored by 胡's avatar

fix: 用户名去除首位空格

parent 5816494a
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="pwd"> <div class="pwd">
<div class="pwd-input"> <div class="pwd-input">
<input <input
id="userInput" v-model="username" class="user" type="text" id="userInput" v-model.trim="username" class="user" type="text"
placeholder="请输入用户名/手机号" > placeholder="请输入用户名/手机号" >
</div> </div>
<div v-if="username" class="delete" @click="clearAccount"> <div v-if="username" class="delete" @click="clearAccount">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment