summaryrefslogtreecommitdiffstats
path: root/src/services/CommandsService.js
blob: f8a815fd03e802e901c313e99ad40511d9c18e07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import AuthService from "./AuthService"
import store from "@/store/index.js"
import router from '@/router/index.js'

export default {
    logout() { 
        AuthService.logout()
        store.dispatch('logout')
        router.push('/login')
    },
    friends() {
        console.log("list")
    },
    tab() {
        return {
            on() {},
            off() {}
        }
    }
}