1
YM
2024-11-20 4e201651d4a5ca76b66faba9e00f5ee2f9ae484f
src/main.ts
@@ -12,6 +12,12 @@
import './child.ts'
import { loginCtx } from '@/assets/js/config.ts'
// 公式输入
import { MathfieldElement } from "mathlive"
// 公式解析
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)