[Vuejs]-Vuejs how can force to update a vuejs var container inside javascript function (not method of vuejs)

1👍

data() {
    return {
      isRender:false
    };
},
methods:{
  onClicked(){
    this.doSomething();
  },
  doSomething(){
    this.isRender=!this.isRender;
  }
}
👤Mee

Leave a comment