pages/index/index.vue @@ -20,7 +20,7 @@ }, methods: { cc() { this.$store.commit('loginReset', this); //重置登入 this.$store.commit('loginReset', this); //重置登录 console.log('清空') } },