We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1717306 commit a42e669Copy full SHA for a42e669
README.md
@@ -3947,7 +3947,7 @@ List of 300 VueJS Interview Questions
3947
3948
computed: {
3949
...mapState({
3950
- message: state => state.user.username
+ username: state => state.user.username
3951
})
3952
},
3953
methods: {
@@ -3969,7 +3969,7 @@ List of 300 VueJS Interview Questions
3969
```javascript
3970
<input v-model="username">
3971
3972
- message: {
+ username: {
3973
get () {
3974
return this.$store.state.user.username
3975
0 commit comments