Hello,
It seems like there’s a problem to commit data to vuex in afterchange() hook.
I have over 8000 lines… so… let me know if you need a test case. I will let you know the github link where I’ve made a repo.
Problem is that
when edit vuex data from hottable and trying to commit it, it can’t send an edited data(it only works for the first commit(edit)).
if you’re planning to repro
Repro
- add node data by using first top button(looks like marker) on the map(just click anywhere map)
- edit added new data from hottable id, name, whatever you want to edit
- then re-edit edited added new data again, id, name, whatever you want
- check the sent out data.
you can check there’s no problem in afterChange hook without ‘this.$store.commit()’
once you block that line and check out the console, you will get the correctly updated data.
However, whenever you add this.$store.commit() you will get the old data whenever you reedit.(first edit is OK)
Regards,