2.0.12 • Published 4 years ago
nacl-vuex-loading v2.0.12
简介
解决异步action频繁show loading 和 hide loading
安装
npm install nacl-vuex-loading
使用
import VuexLoading from 'vuex-loading'
const store = new Vuex.Store({
plugins: [VuexLoading]
})
store.loading['{moduleName}/{actionName}'] // return true or false