Update README.md

This commit is contained in:
当耐特 2018-05-05 10:35:54 +08:00 committed by GitHub
parent 0d5dbbc637
commit f79087af62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ You can use `this.$store` in all components to access the data or data logic.
|-------------------------------|--------------------------------------------------|
| `componentWillMount / install` | before the component gets mounted to the DOM |
| `componentDidMount / installed` | after the component gets mounted to the DOM |
| `componentWillUnmount /uninstall` | prior to removal from the DOM |
| `componentWillUnmount / uninstall`     | prior to removal from the DOM                   |
| `componentWillReceiveProps` | before new props get accepted |
| `shouldComponentUpdate` | before `render()`. Return `false` to skip render |
| `componentWillUpdate / beforeUpdate` | before `render()` |