mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-25 16:34:01 +00:00
id 追加
This commit is contained in:
parent
4d22ddaf65
commit
de34998bd5
|
@ -2,6 +2,9 @@ import { MutationTree } from 'vuex';
|
|||
import { AccountStateInterface } from './state';
|
||||
|
||||
const mutation: MutationTree<AccountStateInterface> = {
|
||||
setId(state: AccountStateInterface, id: string) {
|
||||
state.id = id;
|
||||
},
|
||||
setToken(state: AccountStateInterface, token: string) {
|
||||
state.token = token;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user