1234567891011121314151617 |
- const contentStore = {
- state: {
- columnId: '111111111111111'
- },
- mutations: {
- setColumnId: (state, columnId) => {
- state.columnId = columnId,
- console.log(columnId, state.columnId, 'columnId/state')
- }
- },
- // actions: {
- // saveColumnId: ({ commit, state }, columnId) => {
- // commit('setColumnId', columnId)
- // }
- // }
- }
- export default contentStore;
|