MCPcopy Create free account
hub / github.com/CoderOpen/waimai / login

Function login

front/store/index.js:16–19  ·  view source on GitHub ↗
(state, provider)

Source from the content-addressed store, hash-verified

14 },
15 mutations: {
16 login(state, provider) {
17 state.hasLogin = true;
18 state.loginProvider = provider;
19 },
20 logout(state) {
21 state.hasLogin = false
22 state.openid = null

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected