From cb21d82b759e7596e0260e7be9cdc860146f978b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Tue, 2 Jan 2024 10:14:11 +0800 Subject: [PATCH] test --- Routes.js | 2 +- src/components/render-html.jsx | 2 +- src/modules/developer/quillEditor/index.js | 2 +- src/modules/tpm/TPMIndexHOC.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Routes.js b/Routes.js index 2c5b685a4..906386057 100644 --- a/Routes.js +++ b/Routes.js @@ -1,4 +1,4 @@ -import Detail from "./src/forge/Main/Detail"; +import Detail from "./src/forge/Main/DetailAdaptor"; export default [ diff --git a/src/components/render-html.jsx b/src/components/render-html.jsx index e241ba2df..68c969e2d 100644 --- a/src/components/render-html.jsx +++ b/src/components/render-html.jsx @@ -1,5 +1,5 @@ import React, { useEffect, useRef, useMemo , useState } from 'react' -import 'katex/dist/katex.min.css'; +// import 'katex/dist/katex.min.css'; import marked, { getTocContent, cleanToc, getMathExpressions, resetMathExpressions } from '../common/marked'; import 'code-prettify'; import dompurify from 'dompurify'; diff --git a/src/modules/developer/quillEditor/index.js b/src/modules/developer/quillEditor/index.js index 6a54ea138..21fc055d5 100644 --- a/src/modules/developer/quillEditor/index.js +++ b/src/modules/developer/quillEditor/index.js @@ -11,7 +11,7 @@ // import 'quill/dist/quill.snow.css'; // import 'katex/dist/katex.css'; import './index.scss'; -import 'katex/dist/katex.min.css'; +// import 'katex/dist/katex.min.css'; import React from 'react'; import katex from 'katex'; const Quill = require('quill'); diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js index 3f0ae26db..51a4b97db 100644 --- a/src/modules/tpm/TPMIndexHOC.js +++ b/src/modules/tpm/TPMIndexHOC.js @@ -17,7 +17,7 @@ export function TPMIndexHOC(WrappedComponent) { return class II extends React.Component { constructor(props) { super(props); - window.$('#root').css('position', 'relative'); + // window.$('#root').css('position', 'relative'); this.state = { tpmLoading: true,