Fix navigation
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
export const updateDrawerState = (state, opened) => {
|
export const updateDrawerState = (state, opened) => {
|
||||||
state.drawerState = opened
|
state.drawerState = opened
|
||||||
}
|
}
|
||||||
|
|
||||||
export const updatePageMeta = (state, meta) => {
|
export const updatePageMeta = (state, meta) => {
|
||||||
state.pageMeta = {
|
state.pageMeta = {
|
||||||
title: 'Domo',
|
title: 'Domo',
|
||||||
hash: '',
|
hash: '',
|
||||||
@@ -12,5 +12,4 @@ export const updateDrawerState = (state, opened) => {
|
|||||||
tabs: [],
|
tabs: [],
|
||||||
...meta
|
...meta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
|
|
||||||
import example from './module-example'
|
import domoStore from './domo-store'
|
||||||
|
|
||||||
Vue.use(Vuex)
|
Vue.use(Vuex)
|
||||||
|
|
||||||
const store = new Vuex.Store({
|
const store = new Vuex.Store({
|
||||||
modules: {
|
modules: {
|
||||||
example
|
domoStore
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user