src/main.ts
@@ -42,7 +42,7 @@ import router, { setupRouter } from '@/router' // 权限 import { setupAuth } from '@/directives' import { setupAuth, setupMountedFocus } from '@/directives' import { createApp } from 'vue' @@ -87,6 +87,8 @@ setupAuth(app) setupMountedFocus(app) await router.isReady() app.use(VueDOMPurifyHTML)