Browse Source

拼写两边加引号

visuddhinanda 2 years ago
parent
commit
d996e8305d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/components/template/Wbw/RelaGraphic.tsx

+ 1 - 1
dashboard/src/components/template/Wbw/RelaGraphic.tsx

@@ -30,7 +30,7 @@ const RelaGraphicWidget = ({ wbwData }: IWidget) => {
                   .replaceAll("{", "")
                   .replaceAll("{", "")
                   .replaceAll("}", "")
                   .replaceAll("}", "")
               : "";
               : "";
-            return `${relation.sour_id}(${relation.sour_spell}<br />${meaning}) --"${relation.relation}<br />${localName}"--> ${relation.dest_id}(${relation.dest_spell})\n`;
+            return `${relation.sour_id}(${relation.sour_spell}<br />${meaning}) --"${relation.relation}<br />${localName}"--> ${relation.dest_id}("${relation.dest_spell}")\n`;
           });
           });
           return graphic.join("");
           return graphic.join("");
         } else {
         } else {