Browse Source

fix(product): product search

Lind 4 years ago
parent
commit
72052324e9
1 changed files with 1 additions and 3 deletions
  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') => {