fix file locations and transfer to ts

This commit is contained in:
Annie Huang committed 2024-04-06 22:06:29 +08:00
1 parent aa903fbacf
commit 1e31cf3be5
3 files changed
+8 -9

No files matched your search

@@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
import { onMounted } from 'vue'
import { useRouter } from 'vue-router'
import { useToast } from 'vue-toastification'
@@ -30,7 +30,6 @@ onMounted(async () => {
try {
await loadUserProfile()
} catch (err) {
// toast.error('Failed to load user profile')
toast.error('無法讀取使用者資料')
}
})