What does this [value] = false mean in the vue method?

< my-dialog: show-dialog= "isSignUP" @ close-dialog= "closeDialog ("isSignUP")" >
< / my-dialog >

methods: {

  openDialog (value) {
    this[value] = true;
  },
  closeDialog (value) {
    this[value] = false;
  }
}
What is the use of this [value] in

methods?

Dec.08,2021

this is the attribute of the object, that is, the value is not fixed. For example, passing an an is equivalent to this.an and passing something is equivalent to this.. What


members of access objects can be used in two ways

  

is another way for to access object properties . It has the same meaning as this.value = false . It is recommended to brush more rhino books or red treasure books, or MDN

.
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-1e41038-43637.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-1e41038-43637.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?