Merge pull request #10718 from dataease/pr@dev-v2_bug_fix

fix(xpack): 路由不生效
This commit is contained in:
dataeaseShu 2024-07-02 17:25:31 +08:00 committed by GitHub
commit 6d7ae521ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {