fix(xpack): vue变量冲突

This commit is contained in:
dataeaseShu 2024-08-01 11:58:28 +08:00
parent 60b4dd3cc8
commit 996ac9adec

View File

@ -117,12 +117,12 @@ onMounted(async () => {
plugin.value = xpack.default plugin.value = xpack.default
} else if (!window._de_xpack_not_loaded) { } else if (!window._de_xpack_not_loaded) {
window._de_xpack_not_loaded = true window._de_xpack_not_loaded = true
window['Vue'] = Vue window['VueDe'] = Vue
window['Axios'] = axios window['AxiosDe'] = axios
window['Pinia'] = Pinia window['PiniaDe'] = Pinia
window['vueRouter'] = router window['vueRouterDe'] = router
window['MittAll'] = useEmitt().emitter.all window['MittAllDe'] = useEmitt().emitter.all
window['I18n'] = i18n window['I18nDe'] = i18n
if (!window.tinymce) { if (!window.tinymce) {
window.tinymce = tinymce window.tinymce = tinymce
} }