fix(xpack): 路由不生效

This commit is contained in:
dataeaseShu 2024-07-02 17:22:06 +08:00
parent cba96064a7
commit 24f884e7a3

View File

@ -8,7 +8,7 @@ import { i18n } from '@/plugins/vue-i18n'
import * as Vue from 'vue'
import axios from 'axios'
import * as Pinia from 'pinia'
import * as vueRouter from 'vue-router'
import router from '@/router'
import tinymce from 'tinymce/tinymce'
import { useEmitt } from '@/hooks/web/useEmitt'
@ -107,7 +107,7 @@ onMounted(async () => {
window['Vue'] = Vue
window['Axios'] = axios
window['Pinia'] = Pinia
window['vueRouter'] = vueRouter
window['vueRouter'] = router
window['MittAll'] = useEmitt().emitter.all
window['I18n'] = i18n
if (!window.tinymce) {