id 追加

This commit is contained in:
rca 2024-07-19 03:38:02 +09:00
parent 4d22ddaf65
commit de34998bd5

View File

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