flat: 登陆
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<image class="login-go-home-image" src="@/static/img/home.svg"></image>
|
||||
</view> -->
|
||||
<!-- #endif -->
|
||||
<jl-input type="number" v-model="phone" placeholder="请输入手机号" @confirm="login"></jl-input>
|
||||
<jl-input type="text" v-model="phone" placeholder="请输入手机号" @confirm="login"></jl-input>
|
||||
<jl-input type="text" v-model="password" placeholder="请输入登录密码" @confirm="login" showPassword clearable></jl-input>
|
||||
<!-- <code-input ref="code" v-model="code" :getCode="getCaptcha" @key-change="keyChange" @confirm="login"></code-input> -->
|
||||
<view v-if="loading" class="btn nocheck" loading="true">登录中</view>
|
||||
@@ -131,7 +131,7 @@
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'auth', 'autograph', 'userChecked']),
|
||||
validate() {
|
||||
return isMobile(this.phone) && this.password && this.code
|
||||
return this.phone && this.password && this.code
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user