Fix script exporting computed

This commit is contained in:
Jan Bader 2022-01-19 21:24:07 +00:00
parent 2fba4381df
commit 5601c965dc

View File

@ -1,8 +1,12 @@
<script setup> <script>
import { computed, onMounted } from 'vue'; export default {
computed: {
onMounted(function () { console.log(this.$store)}); dashboard () {
//const dashboard = computed(() => this.$store.state); console.log(this.$store.state);
return this.$store.state;
}
}
}
</script> </script>
<!-- <!--