From 24f884e7a3df8cf71f6928ede42f1dd2270e416e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 2 Jul 2024 17:22:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(xpack):=20=E8=B7=AF=E7=94=B1=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/components/plugin/src/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/components/plugin/src/index.vue b/core/core-frontend/src/components/plugin/src/index.vue index fdb7328aa0..1aa2afdf6d 100644 --- a/core/core-frontend/src/components/plugin/src/index.vue +++ b/core/core-frontend/src/components/plugin/src/index.vue @@ -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) {