简体   繁体   中英

Template error in vue js

I am new to vue.js and using vue.js to update a <li> list on selection of elements from other list using vue.js. But I am getting error

vue.js:465 [Vue warn]: Error compiling template:

here is my code in jsfiddle .

What I am doing wrong?

As the error says, you can't have v-model attribute on li element. So simply remove the v-model="selectedTasks" .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM