Skip to content

Commit

Permalink
fix: fixed missing vuex method
Browse files Browse the repository at this point in the history
  • Loading branch information
kouts committed May 17, 2021
1 parent 78d99af commit 3af4e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pathStoreVuexPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const pathStoreVuexPlugin = (store) => {
return store.commit(method, { path, args })
}
return Object.assign(acc, { [method]: fn })
})
}, {})
}

const mutations = {
Expand All @@ -48,7 +48,7 @@ const pathStoreVuexPlugin = (store) => {
return arr[method](...args)
}
return Object.assign(acc, { [method]: fn })
})
}, {})
}

for (const type in mutations) {
Expand Down

0 comments on commit 3af4e70

Please sign in to comment.