diff --git a/pages/user/index.vue b/pages/user/index.vue
index 95bff16..6f9de66 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -23,6 +23,10 @@
骑手投诉
+
+ 退出登录
+
+
@@ -41,6 +45,17 @@ export default {
this.getmyinfo()
},
methods: {
+ // 退出登陆
+ loginout(){
+ uni.clearStorage();
+ this.$refs.uToast.show({
+ title: "退出登陆成功!",
+ type: 'success'
+ });
+ uni.reLaunch({
+ url:"../login/login"
+ })
+ },
// 获取个人信息
getmyinfo(){
let that = this;