登录页面去掉默认账号密码
This commit is contained in:
parent
f7deaf30a5
commit
4927142882
@ -2,12 +2,12 @@
|
|||||||
<div>
|
<div>
|
||||||
<a-form-model ref="form" :model="model" :rules="validatorRules">
|
<a-form-model ref="form" :model="model" :rules="validatorRules">
|
||||||
<a-form-model-item required prop="username">
|
<a-form-model-item required prop="username">
|
||||||
<a-input v-model="model.username" size="large" placeholder="请输入帐户名 / admin">
|
<a-input v-model="model.username" size="large" placeholder="请输入帐户名">
|
||||||
<a-icon slot="prefix" type="user" :style="{ color: 'rgba(0,0,0,.25)' }"/>
|
<a-icon slot="prefix" type="user" :style="{ color: 'rgba(0,0,0,.25)' }"/>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
<a-form-model-item required prop="password">
|
<a-form-model-item required prop="password">
|
||||||
<a-input v-model="model.password" size="large" type="password" autocomplete="false" placeholder="请输入密码 / 123456">
|
<a-input v-model="model.password" size="large" type="password" autocomplete="false" placeholder="请输入密码">
|
||||||
<a-icon slot="prefix" type="lock" :style="{ color: 'rgba(0,0,0,.25)' }"/>
|
<a-icon slot="prefix" type="lock" :style="{ color: 'rgba(0,0,0,.25)' }"/>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@ -43,8 +43,10 @@
|
|||||||
currdatetime: '',
|
currdatetime: '',
|
||||||
loginType: 0,
|
loginType: 0,
|
||||||
model:{
|
model:{
|
||||||
username: 'admin',
|
// username: 'admin',
|
||||||
password: '123456',
|
// password: '123456',
|
||||||
|
username: '',
|
||||||
|
password: '',
|
||||||
inputCode: ''
|
inputCode: ''
|
||||||
},
|
},
|
||||||
validatorRules:{
|
validatorRules:{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user