Przeglądaj źródła

:art: 多选文字颜色

visuddhinanda 2 lat temu
rodzic
commit
fdb1b49b5c
1 zmienionych plików z 5 dodań i 3 usunięć
  1. 5 3
      dashboard/src/components/corpus/BookTree.tsx

+ 5 - 3
dashboard/src/components/corpus/BookTree.tsx

@@ -114,9 +114,11 @@ const BookTreeWidget = ({
         </Button>
         </Button>
         {multiSelectable ? (
         {multiSelectable ? (
           <Space>
           <Space>
-            {intl.formatMessage({
-              id: "buttons.multiple.select",
-            })}
+            <Text>
+              {intl.formatMessage({
+                id: "buttons.multiple.select",
+              })}
+            </Text>
             <Switch
             <Switch
               size="small"
               size="small"
               defaultChecked={multiSelect}
               defaultChecked={multiSelect}