From 6ffc8b1872a5f34712bad7fa6a258628e6f6d883 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 07 一月 2025 18:06:12 +0800 Subject: [PATCH] refactor(qiankunState): 重置字体大小为 null --- 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