visuddhinanda 2 лет назад
Родитель
Сommit
0bb3e1dbb7
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      dashboard/src/components/template/MdTpl.tsx

+ 4 - 1
dashboard/src/components/template/MdTpl.tsx

@@ -1,4 +1,4 @@
-import GrammarPop, { GrammarPopShell } from "../dict/GrammarPop";
+import { GrammarPopShell } from "../dict/GrammarPop";
 import Article from "./Article";
 import Exercise from "./Exercise";
 import Mermaid from "./Mermaid";
@@ -6,6 +6,7 @@ import Nissaya from "./Nissaya";
 import Note from "./Note";
 import ParaHandle from "./ParaHandle";
 import Quote from "./Quote";
+import QuoteLink from "./QuoteLink";
 import SentEdit from "./SentEdit";
 import SentRead from "./SentRead";
 import Term from "./Term";
@@ -48,6 +49,8 @@ const Widget = ({ tpl, props, children }: IWidgetMdTpl) => {
       return <Mermaid props={props ? props : ""} />;
     case "grammar-pop":
       return <GrammarPopShell props={props ? props : ""} />;
+    case "quote-link":
+      return <QuoteLink props={props ? props : ""} />;
     default:
       return <>未定义模版({tpl})</>;
   }