mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
fix bug
This commit is contained in:
@@ -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
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user