visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
b370480184
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      dashboard/src/pages/admin/dictionary/list.tsx

+ 5 - 1
dashboard/src/pages/admin/dictionary/list.tsx

@@ -10,6 +10,7 @@ interface IDict {
   title: string;
   title: string;
   count: number;
   count: number;
   vocabulary: number;
   vocabulary: number;
+  parent: number;
 }
 }
 
 
 interface IDictStatisticResponse {
 interface IDictStatisticResponse {
@@ -45,7 +46,10 @@ const DictListWidget = () => {
                 statistic={{
                 statistic={{
                   value: item.count,
                   value: item.count,
                   description: (
                   description: (
-                    <Statistic title="单词表" value={item.vocabulary} />
+                    <>
+                      <Statistic title="单词表" value={item.vocabulary} />
+                      <Statistic title="词干" value={item.parent} />
+                    </>
                   ),
                   ),
                 }}
                 }}
                 style={{
                 style={{