[Vuejs]-Vue sortable not working properly

0👍

Your v-model is this.$store.getters.getDocument.getDocumentAttributes. It’s vuex’s getter things. Getter is just for getting data, you can’t modify data with it.

Try to read the doc of the sortable lib:
https://github.com/SortableJS/Vue.Draggable#with-vuex

Leave a comment