Explorar o código

fix(product): product search

Lind %!s(int64=4) %!d(string=hai) anos
pai
achega
72052324e9
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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') => {