javascript - vueclick event reports an error when clicked
習慣沉默
習慣沉默 2017-07-05 10:43:14
0
1
770

The following is the error code and the code I wrote

Please help me to see if there is anything wrong with the code I wrote

習慣沉默
習慣沉默

reply all(1)
Ty80

Method name cannot be repeated with Attribute name

data() {
    return {
      isOpen: false,
      toggleContent: ""//这个名字和方法名字重复了,换掉就可以了
    }
},
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template