Fix script exporting computed
This commit is contained in:
parent
2fba4381df
commit
5601c965dc
@ -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>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
Loading…
x
Reference in New Issue
Block a user