This commit is contained in:
jxxghp
2023-08-01 17:49:58 +08:00
parent 7b75eb4a9d
commit 6b03569b79
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const props = defineProps({
}) })
// 提示框 // 提示框
const $toast = useToast({ position: 'top' }) const $toast = useToast()
// 图片加载状态 // 图片加载状态
const isImageLoaded = ref(false) const isImageLoaded = ref(false)
+7 -1
View File
@@ -22,7 +22,13 @@ configureNProgress()
const app = createApp(App) const app = createApp(App)
// Use plugins Mount vue app // Use plugins Mount vue app
app.use(vuetify).use(router).use(store).use(ToastPlugin).use(VuetifyUseDialog).mount('#app') app.use(vuetify)
.use(router)
.use(store)
.use(ToastPlugin, {
position: 'bottom-right',
})
.use(VuetifyUseDialog).mount('#app')
// 导航守卫 // 导航守卫
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {