소스 검색

fix(product): product search

Lind 4 년 전
부모
커밋
72052324e9
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/pages/device/Product/index.tsx

+ 1 - 3
src/pages/device/Product/index.tsx

@@ -92,9 +92,7 @@ const Product = observer(() => {
    * @param data
    */
   const searchFn = (data: any) => {
-    setQueryParam({
-      terms: data,
-    });
+    setQueryParam(data);
   };
 
   const changeDeploy = (id: string, state: 'deploy' | 'undeploy') => {