From 4e201651d4a5ca76b66faba9e00f5ee2f9ae484f Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 20 十一月 2024 15:27:54 +0800
Subject: [PATCH] 1

---
 src/main.ts |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index de5d30d..43ec77a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -12,6 +12,12 @@
 import './child.ts'
 import { loginCtx } from '@/assets/js/config.ts'
 
+// 鍏紡杈撳叆
+import { MathfieldElement } from "mathlive"
+// 鍏紡瑙f瀽
+import VueLatex from 'vatex'
+
+
 const handleGetToken = () => {
   return localStorage.getItem('token')
 }
@@ -77,8 +83,10 @@
 
 const app = createApp(App)
 
+
 app.provide('toolClass', toolClass)
 app.provide('MG', MG)
+app.use(VueLatex)
 app.use(router)
 app.use(ElementPlus)
 app.use(pinia)

--
Gitblit v1.9.1