vue 传值及判断

 
  
{{z.year}}-{{z.day}}
  • {{x.type}}
  • {{x.type}}

    data () {
      return {
        tim:[],
        ishow:false,

 coach:function (day) {
        // console.log(day)
        this.ishow = !this.ishow
        if(this.ishow){
          this.tim=day
          console.log(this.tim)
        }else {

        }
      },
      hide:function () {
        this.ishow = !this.ishow
      },


你可能感兴趣的:(vue+apicloud)