vue_visgraph: vuex get household and update nodes array

This commit is contained in:
2021-10-20 10:15:33 +02:00
parent 1b0c19a68f
commit d7cf45885e
4 changed files with 171 additions and 77 deletions

View File

@@ -12,7 +12,7 @@ const persons = JSON.parse(container.dataset.persons)
persons.forEach(person => {
store.dispatch('addPerson', person)
store.dispatch('fetchInfoForPerson', person)
//store.dispatch('fetchInfoForPerson', person)
})
const app = createApp({
@@ -22,6 +22,3 @@ const app = createApp({
.use(i18n)
.component('app', App)
.mount('#relationship-graph')
//console.log('container dataset', container.dataset.persons)