|
@@ -7,9 +7,9 @@
|
|
|
</a-input>
|
|
</a-input>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
<a-form-model-item required prop="password" v-if='isLogin'>
|
|
<a-form-model-item required prop="password" v-if='isLogin'>
|
|
|
- <a-input v-model="model.password" size="large" type="password" autocomplete="false" placeholder="请输入密码">
|
|
|
|
|
|
|
+ <a-input-password 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-password>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
<a-row :gutter="0" v-if='isLogin'>
|
|
<a-row :gutter="0" v-if='isLogin'>
|
|
@@ -27,15 +27,15 @@
|
|
|
</a-row>
|
|
</a-row>
|
|
|
|
|
|
|
|
<a-form-model-item required v-if='!isLogin' prop='passwordNew'>
|
|
<a-form-model-item required v-if='!isLogin' prop='passwordNew'>
|
|
|
- <a-input v-model="model.passwordNew" size="large" type="password" placeholder="请输入新密码" >
|
|
|
|
|
|
|
+ <a-input-password v-model="model.passwordNew" size="large" type="password" 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-password>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
<a-form-model-item required v-if='!isLogin' prop='passwordNew' >
|
|
<a-form-model-item required v-if='!isLogin' prop='passwordNew' >
|
|
|
- <a-input v-model="model.passwordNew2" size="large" type="password" placeholder="请确认新密码"
|
|
|
|
|
|
|
+ <a-input-password v-model="model.passwordNew2" size="large" type="password" 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-password>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
<a-form-item style="margin-top:24px;width: 100px" v-if='!isLogin'>
|
|
<a-form-item style="margin-top:24px;width: 100px" v-if='!isLogin'>
|
|
|
<a-button size="large" type="primary" htmlType="submit" @click='updatePassword' class="login-button" >修改密码
|
|
<a-button size="large" type="primary" htmlType="submit" @click='updatePassword' class="login-button" >修改密码
|