id 追加

This commit is contained in:
rca 2024-07-19 03:38:15 +09:00
parent de34998bd5
commit a855c57426

View File

@ -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;
},