diff --git a/pages/user/user.vue b/pages/user/user.vue
index 3a1caa5..46f6c94 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -40,7 +40,7 @@
-
+
@@ -108,6 +108,12 @@
this.$router.push({
path: '/pages/AboutUs/AboutUs',
});
+ },
+ logout() {
+ this.$cookies.remove("userInfo");
+ this.$router.push({
+ path: '/pages/index/index',
+ });
}
}
}