Ver Fonte

feat(dashboard-v6): 字典搜索框接入 loading 状态

visuddhinanda há 3 semanas atrás
pai
commit
285971b6d3
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      dashboard-v6/src/components/dict/SearchVocabulary.tsx

+ 1 - 0
dashboard-v6/src/components/dict/SearchVocabulary.tsx

@@ -149,6 +149,7 @@ const SearchVocabulary = ({
           style={{ width: "100%" }}
           size={compact ? undefined : "large"}
           placeholder="search here"
+          loading={fetching}
           onSearch={(val: string) => {
             onSearch?.(val);
           }}