Browse Source

允许换行

visuddhinanda 3 years ago
parent
commit
5fc264ac76
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dashboard/src/components/template/Wbw/WbwReal.tsx

+ 3 - 3
dashboard/src/components/template/Wbw/WbwReal.tsx

@@ -34,13 +34,13 @@ const WbwFactorsWidget = ({ data, display, onChange }: IWidget) => {
       }
       }
     } else {
     } else {
       wordReal = (
       wordReal = (
-        <Space>
+        <>
           {data.real.value.split(" ").map((item, index) => (
           {data.real.value.split(" ").map((item, index) => (
             <Lookup search={item} key={index}>
             <Lookup search={item} key={index}>
-              <Text type="secondary">{item}</Text>
+              <Text type="secondary">{item} </Text>
             </Lookup>
             </Lookup>
           ))}
           ))}
-        </Space>
+        </>
       );
       );
     }
     }