11.4 Ues a Computed Property Setter

This commit is contained in:
Fredrick W Warren 2021-02-10 12:27:00 -08:00
parent 9f7b4f75e6
commit a3a551192d

View File

@ -22,8 +22,11 @@ export default {
name: 'Search', name: 'Search',
computed: { computed: {
...mapState('tasks', ['search']), ...mapState('tasks', ['search']),
searchField () { searchField: {
return this.search get () {
return this.search
},
set (value) {}
} }
} }