feat: auto import for store

This commit is contained in:
Anthony Fu committed 2022-04-19 10:57:23 +08:00
1 parent 581b36d3aa
commit 6050e07123
3 files changed
+6 -2

No files matched your search

-2
View File
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { useUserStore } from '~/stores/user'
const route = useRoute()
const user = useUserStore()
const name = route.params.id