@@ -51,6 +51,16 @@
url="/center/resetpass"
:customStyle="cellCustomStyle"
></u-cell>
+ <u-cell
+ title="退出登录"
+ value=""
+ center
+ :isLink="true"
+ :border="true"
+ @click="logOut"
+ icon="/static/img/logout.svg"
+ :customStyle="cellCustomStyle"
+ ></u-cell>
</u-cell-group>
</view>
@@ -92,6 +102,10 @@
console.log('memberInfo',err.data);
})
},
+ logOut(){
+ this.$u.vuex('vuex_user_info', {});
+ this.getMemberInfo()
+ }
}
</script>