From c8d1e1ed1d5c8d20a9aad8554d51001afb3c6312 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 20 十一月 2024 15:28:27 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TextbookReader --- src/main.ts | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main.ts b/src/main.ts index 6b7a137..78dfb1f 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') } @@ -74,8 +80,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