File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
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'
4
5
import { createProxy , extractVuexModule } from 'vuex-class-component'
5
- import jwtDecode from 'jwt-decode'
6
+ // import jwtDecode from 'jwt-decode'
6
7
import { AppStore } from '@/store/modules/app'
7
8
import { ClassDataStore } from '@/store/modules/classData'
8
9
import { UserStore } from '@/store/modules/user'
@@ -16,7 +17,7 @@ export const store = new Vuex.Store({
16
17
...extractVuexModule ( UserStore )
17
18
}
18
19
} )
19
-
20
+ /*
20
21
export const actions = {
21
22
async nuxtServerInit(_ctx: ActionContext<any, any>, { req }: Context) {
22
23
const authorizationHeader = req.headers.authorization || ''
@@ -29,6 +30,7 @@ export const actions = {
29
30
}
30
31
}
31
32
}
33
+ */
32
34
33
35
export const vxm = {
34
36
app : createProxy ( store , AppStore ) ,
You can’t perform that action at this time.
0 commit comments