瀏覽代碼

允许换行

visuddhinanda 3 年之前
父節點
當前提交
5fc264ac76
共有 1 個文件被更改,包括 3 次插入 和 3 次删除
  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 {
       wordReal = (
-        <Space>
+        <>
           {data.real.value.split(" ").map((item, index) => (
             <Lookup search={item} key={index}>
-              <Text type="secondary">{item}</Text>
+              <Text type="secondary">{item} </Text>
             </Lookup>
           ))}
-        </Space>
+        </>
       );
     }