Skip to content

Commit 5423ee8

Browse files
committed
一時的にオートログインを無効化
1 parent 2bb8f73 commit 5423ee8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/store/index.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import Vue from 'vue'
2-
import Vuex, { ActionContext } from 'vuex'
3-
import { Context } from '@nuxt/types/app'
2+
import Vuex from 'vuex'
3+
// import Vuex, { ActionContext } from 'vuex'
4+
// import { Context } from '@nuxt/types/app'
45
import { createProxy, extractVuexModule } from 'vuex-class-component'
5-
import jwtDecode from 'jwt-decode'
6+
// import jwtDecode from 'jwt-decode'
67
import { AppStore } from '@/store/modules/app'
78
import { ClassDataStore } from '@/store/modules/classData'
89
import { UserStore } from '@/store/modules/user'
@@ -16,7 +17,7 @@ export const store = new Vuex.Store({
1617
...extractVuexModule(UserStore)
1718
}
1819
})
19-
20+
/*
2021
export const actions = {
2122
async nuxtServerInit(_ctx: ActionContext<any, any>, { req }: Context) {
2223
const authorizationHeader = req.headers.authorization || ''
@@ -29,6 +30,7 @@ export const actions = {
2930
}
3031
}
3132
}
33+
*/
3234

3335
export const vxm = {
3436
app: createProxy(store, AppStore),

0 commit comments

Comments
 (0)