From daab425c78a6c8b7e8e1a839ef4ccdbca9537e90 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:02:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=89=93=E5=8C=85?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=20(#5278)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/main.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 75a008ded..7b04cb035 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -21,15 +21,10 @@ import Components from '@/components'; import ElementPlus from 'element-plus'; import Fit2CloudPlus from 'fit2cloud-ui-plus'; import * as Icons from '@element-plus/icons-vue'; -import VueDiff from 'vue-diff'; -import 'vue-diff/dist/index.css'; -import yaml from 'highlight.js/lib/languages/yaml'; -VueDiff.hljs.registerLanguage('yaml', yaml); const app = createApp(App); app.component('SvgIcon', SvgIcon); app.use(ElementPlus); -app.use(VueDiff); app.use(Fit2CloudPlus, { locale: i18n.global.messages.value[localStorage.getItem('lang') || 'zh'] }); Object.keys(Icons).forEach((key) => {