f / vue-wait

Complex Loader and Progress Management for Vue/Vuex and Nuxt Applications
MIT License
2k stars 101 forks source link

mapWaitingActions #84

Closed YanCore closed 1 year ago

YanCore commented 4 years ago

Currently mapWaitingActions(vuexModuleName, actions), intercepts actions, the default waiter's name is the same as the action name(for example, mapWaitingActions('users', ['list']), waiter is list) but if vuexModuleName is set, it is actually hoped to use the name Space is isolated. I hope that mapWaitingActions provides vuexModuleName, and the default waiter name is the of vuexModuleName/action.