11.4 Ues a Computed Property Setter
This commit is contained in:
parent
9f7b4f75e6
commit
a3a551192d
@ -22,8 +22,11 @@ export default {
|
|||||||
name: 'Search',
|
name: 'Search',
|
||||||
computed: {
|
computed: {
|
||||||
...mapState('tasks', ['search']),
|
...mapState('tasks', ['search']),
|
||||||
searchField () {
|
searchField: {
|
||||||
|
get () {
|
||||||
return this.search
|
return this.search
|
||||||
|
},
|
||||||
|
set (value) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user