References to methods and methods in js

Q1: should last24labels be a reference to a piece of code in this?

computed:{
      ...mapGetters(["last24labels","getSuccess","getFail"])

    },

watch: {

  last24labels:function(v){  //q2:last24labels(v)  -sharp-sharp-sharp 



A1: no, simple string
a2: last24labels:function (v) {} object method definition, function last24labels (v) {} function definition


  1. Please improve your typesetting and prepare questions before inviting answers
  2. Q1 document has it; Q2 can't understand it at all
Menu