How to get the data of data in the shortcuts of DatePicker of elementui?

like the following code, how can I get form.datefrom in onClick.
my original requirement is to have a shortcut to implement the date of the form.datefrom+1 year

data() {
    return {
      form: { tenants: [], datefrom: new Date() },
      loading: false,
      daterangeOptions: {
        disabledDate: (time) => {
          const beginDateVal = this.$moment(this.form.datefrom)
          if (beginDateVal) {
            return this.$moment(time) < beginDateVal
          }
        },
        shortcuts: [{
          text: "",
          onClick(picker) {
            picker.$emit("pick", this.$moment(this.form.datefrom).add(1, "y"))
          }
        }, {
          text: "",
          onClick(picker) {
            picker.$emit("pick", this.$moment(this.form.datefrom).add(6, "M"))
          }
        }, {
          text: "",
          onClick(picker) {
            picker.$emit("pick", this.$moment(this.form.datefrom).add(3, "M"))
          }
        }, {
          text: "",
          onClick: (picker) => {
            debugger
            picker.$emit("pick", this.$moment(this.form.datefrom).add(1, "M"))
          }
        }]
      }
    }
  }
Mar.06,2021

`data () {
let _ this = this / / you can get
} `


with _ this.

resolved

 {
        text: '',
        onClick: (picker) => {
          picker.$emit('pick', this.$moment(this.form.datefrom).add(1, 'M').add(-1, 'd').toDate())
        }

 {
        text: '',
        onClick: (picker) => {
          const  thisDate = picker.value;
          picker.$emit('pick', new Date(thisDate.getFullYear()+1
                        ,thisDate.getMonth(),tisDate.getDate()-1);
        }

I searched the Internet for three hours for keywords on this question, but there was no effect. It took me ten minutes to see the source code: what is picker

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bedd52-31ba4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bedd52-31ba4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?