mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-26 00:34:01 +00:00
id 追加
This commit is contained in:
parent
de34998bd5
commit
a855c57426
|
@ -3,6 +3,9 @@ import { RootStateInterface } from '../index';
|
|||
import { AccountStateInterface } from './state';
|
||||
|
||||
const getters: GetterTree<AccountStateInterface, RootStateInterface> = {
|
||||
getId(state: AccountStateInterface): string {
|
||||
return state.id;
|
||||
},
|
||||
getToken(state: AccountStateInterface): string {
|
||||
return state.token;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user