[Vuejs]-Syntax error in getter / setter in computed property in Vuex

0👍

Actually i only have wrong interpretation in computed property in vue.

I call my computed property as:

message() {
  get () {
   return this.$store.state.obj.message
 }, 

The computed property named message was called as a function.

Leave a comment