[Vuejs]-How to access data properties in Vue 2 in script tag

1👍

You need to reference all the properties in data as properties of this.

drop_hide() {
  if (this.isShowDrop2 == false) {
      // Do nothing
  } else {
      this.isShowDrop1 = false
  }
}

Leave a comment