feat(xpack): 代码优化

This commit is contained in:
dataeaseShu 2024-09-24 15:18:50 +08:00
parent 984463d62b
commit f321c4238a

View File

@ -8,6 +8,7 @@ import { i18n } from '@/plugins/vue-i18n'
import * as Vue from 'vue' import * as Vue from 'vue'
import axios from 'axios' import axios from 'axios'
import * as Pinia from 'pinia' import * as Pinia from 'pinia'
import * as echarts from 'echarts'
import router from '@/router' import router from '@/router'
import tinymce from 'tinymce/tinymce' import tinymce from 'tinymce/tinymce'
import { useEmitt } from '@/hooks/web/useEmitt' import { useEmitt } from '@/hooks/web/useEmitt'
@ -123,6 +124,7 @@ onMounted(async () => {
window['vueRouterDe'] = router window['vueRouterDe'] = router
window['MittAllDe'] = useEmitt().emitter.all window['MittAllDe'] = useEmitt().emitter.all
window['I18nDe'] = i18n window['I18nDe'] = i18n
window['EchartsDE'] = echarts
if (!window.tinymce) { if (!window.tinymce) {
window.tinymce = tinymce window.tinymce = tinymce
} }