| | |
| | | <u-button type="primary" |
| | | text="验证" |
| | | :loading="processLoading" |
| | | @click.stop="process"></u-button> |
| | | @click="process"></u-button> |
| | | </view> |
| | | </u-form-item> |
| | | </u-form> |
| | |
| | | if (res.code === 0) { |
| | | uni.$u.toast('验证成功,即将跳转重置密码界面') |
| | | setTimeout(() => { |
| | | let data = res.data |
| | | data.isShowPassword = true //添加一个判断是否显示原密码的字段 |
| | | uni.navigateTo({ |
| | | url: `/pages/login/resetPassword/resetPassword?userInfo=${JSON.stringify(res.data)}` |
| | | url: `/pages/login/resetPassword/resetPassword?userInfo=${JSON.stringify(data)}` |
| | | }) |
| | | }, 1000) |
| | | } else { |
| | |
| | | margin: vww(10) auto; |
| | | |
| | | .process-button { |
| | | margin-top: vww(20); |
| | | width: 30%; |
| | | margin: vww(20) auto; |
| | | min-width: 200rpx; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |