306 fix visgraph issues

This commit is contained in:
2021-12-06 14:01:50 +00:00
committed by Julien Fastré
parent 8e8a8c1e70
commit bbc5e94033
8 changed files with 114 additions and 76 deletions

View File

@@ -16,7 +16,12 @@ persons.forEach(person => {
})
const app = createApp({
template: `<app></app>`
template: `<app :household_id="this.household_id"></app>`,
data() {
return {
household_id: JSON.parse(container.dataset.householdId)
}
}
})
.use(store)
.use(i18n)