mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-06 03:50:47 +08:00
fix: 清理掉了所有warn,优化了在移动端侧边栏的逻辑问题
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import NProgress from 'nprogress'
|
||||
import 'nprogress/nprogress.css'
|
||||
import { defineNuxtPlugin } from 'nuxt/app'
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
NProgress.configure({ showSpinner: false })
|
||||
@@ -12,7 +13,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
||||
NProgress.done()
|
||||
})
|
||||
|
||||
nuxtApp.hook('page:error', () => {
|
||||
nuxtApp.hook('app:error', () => {
|
||||
NProgress.done()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user