2018-07-15 23:16:19 +00:00
|
|
|
import { make } from 'vuex-pathify'
|
|
|
|
|
|
|
|
const state = {
|
2019-01-01 22:03:30 +00:00
|
|
|
editor: '',
|
2018-07-22 20:25:39 +00:00
|
|
|
content: '',
|
2019-03-20 04:37:33 +00:00
|
|
|
mode: 'create',
|
|
|
|
activeModal: ''
|
2018-07-15 23:16:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
|
|
namespaced: true,
|
|
|
|
state,
|
|
|
|
mutations: make.mutations(state)
|
|
|
|
}
|