| | |
| | | <view class="logout"><u-button text="修改密码" |
| | | type="primary" |
| | | @click="modifyPwd"></u-button></view> |
| | | <view class="logout"><u-button text="重置密码" |
| | | type="primary" |
| | | @click="initPwd"></u-button></view> |
| | | <!-- <view class="logout"><u-button text="重置密码"--> |
| | | <!-- type="primary"--> |
| | | <!-- @click="initPwd"></u-button></view>--> |
| | | <view class="logout"><u-button text="退出登录" |
| | | type="primary" |
| | | @click="logout()"></u-button></view> |
| | |
| | | this.initPwdShow = false |
| | | }, |
| | | modifyPwd() { |
| | | this.modifyPwdShow = true |
| | | uni.navigateTo({ |
| | | url: `/pages/login/resetPassword/resetPassword` |
| | | }) |
| | | }, |
| | | modifyPwdConfirm() { |
| | | if (this.passwordModified.length === 0) { |
| | |
| | | border: 1rpx solid rgb(220, 223, 230); |
| | | } |
| | | } |
| | | </style> |
| | | </style> |