How to add Click events dynamically by vue

there is no effect after clicking, the console does not respond, and the click event does not take effect.

Code section:

.list(v-for="(i,n) in lists" :key="n" @click="change(i.url)") {{i.name}}

corresponding event:

change(item) {
  console.log(item);
}

problem solved:
the reason is that the above code affects this function

Can the

code be more complete?


is the change event written in methods: {}?


I don't understand what it means

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