diff --git a/web/src/pages/Edit/components/FormulaSidebar.vue b/web/src/pages/Edit/components/FormulaSidebar.vue index 53fd655f..cc5ca88c 100644 --- a/web/src/pages/Edit/components/FormulaSidebar.vue +++ b/web/src/pages/Edit/components/FormulaSidebar.vue @@ -78,10 +78,10 @@ export default { init() { this.list = formulaList.map(item => { return { - overview: window.katex.renderToString(item, { - throwOnError: false, - output: 'mathml' - }), + overview: window.katex.renderToString( + item, + this.mindMap.formula.getKatexConfig() + ), text: item } })