|
@@ -29,12 +29,18 @@
|
|
|
</view>
|
|
|
<image src="../../static/img/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
</view>
|
|
|
- <view class='cu-item' @click='clearStorage'>
|
|
|
+ <view class='cu-item' style='margin-bottom:10px;' @click='clearStorage'>
|
|
|
<view>
|
|
|
<text>清除缓存</text>
|
|
|
</view>
|
|
|
<image src="../../static/img/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
</view>
|
|
|
+ <view class='cu-item' style='margin-bottom:10px;' @click='UpdataPassword'>
|
|
|
+ <view>
|
|
|
+ <text>修改密码</text>
|
|
|
+ </view>
|
|
|
+ <image src="../../static/img/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class='exitloginwrap'>
|
|
|
<button @click='logout()' class='exitlogin'>退出登录</button>
|
|
@@ -75,6 +81,11 @@
|
|
|
},
|
|
|
onLoad() {},
|
|
|
methods: {
|
|
|
+ UpdataPassword(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/pages/public/reset?phone=${this.userInfo.phone}`
|
|
|
+ })
|
|
|
+ },
|
|
|
clearStorage(){
|
|
|
let that = this
|
|
|
uni.clearStorage({
|
|
@@ -103,7 +114,6 @@
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/public/login`
|
|
|
})
|
|
|
-
|
|
|
},
|
|
|
getList() {
|
|
|
this.userInfo = uni.getStorageSync('userInfo')
|