|
|
@@ -1,6 +1,7 @@
|
|
|
import { GrammarPopShell } from "../dict/GrammarPop";
|
|
|
import Ai from "./Ai";
|
|
|
import Article from "./Article";
|
|
|
+import Confidence from "./Confidence";
|
|
|
import DictPreferenceEditor from "./DictPreferenceEditor";
|
|
|
import Exercise from "./Exercise";
|
|
|
import GrammarTermLookup from "./GrammarTermLookup";
|
|
|
@@ -72,6 +73,8 @@ const Widget = ({ tpl, props, children }: IWidgetMdTpl) => {
|
|
|
return props ? <DictPreferenceEditor props={props} /> : <>无效的参数</>;
|
|
|
case "ai":
|
|
|
return <Ai props={props ? props : ""} />;
|
|
|
+ case "cf":
|
|
|
+ return <Confidence props={props ? props : ""} />;
|
|
|
default:
|
|
|
return <>未定义模版({tpl})</>;
|
|
|
}
|