Convert frontend to Vue #3

Merged
jacob1123 merged 158 commits from vue into master 2022-02-08 22:20:11 +01:00
Showing only changes of commit 6dcf7da861 - Show all commits

View File

@ -3,6 +3,11 @@ export default {
mounted() { mounted() {
this.$store.dispatch("setCurrentAccount", {budgetid: this.budgetid, accountid: this.accountid}) this.$store.dispatch("setCurrentAccount", {budgetid: this.budgetid, accountid: this.accountid})
}, },
watch: {
accountid () {
this.$store.dispatch("setCurrentAccount", {budgetid: this.budgetid, accountid: this.accountid})
}
},
props: ["budgetid", "accountid"] props: ["budgetid", "accountid"]
} }
</script> </script>