diff --git a/src/store/modules/history.js b/src/store/modules/history.js index 095ae60..67cc934 100644 --- a/src/store/modules/history.js +++ b/src/store/modules/history.js @@ -16,7 +16,7 @@ export default { // mutations mutations: { addItem (state, item) { - state.items.push(item) + state.items.unshift(item) }, setOpened (state, opened) { state.opened = opened