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
PHP中文网2017-07-05 10:45:14
Method name
cannot be repeated with Attribute name
data() {
return {
isOpen: false,
toggleContent: ""//这个名字和方法名字重复了,换掉就可以了
}
},