Skip to content

Commit a8576b2

Browse files
author
anthinkingcoder
committed
two step
1 parent 1dfd5f2 commit a8576b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ Using npm:
99
$ npm install vuex-loadings -s
1010
```
1111
## Know
12-
use vxl.aopLoading(commit,loadingName,fn,isPromise) to proxy fn, simplify loading state change
13-
use vxl.mixin({state,getters,mutations},stateObj) to automatic set loading state,loading getter,loading mutation for stateObj
12+
Simplify vuex loading state management need two step:
13+
1.use ```vxl.aopLoading(commit,loadingName,fn,isPromise)``` to proxy fn, simplify loading state change
14+
2.use ```vxl.mixin({state,getters,mutations},stateObj)``` to automatic set loading state,loading getter,loading mutation for stateObj
1415

1516
## Example
1617
```js

0 commit comments

Comments
 (0)