Selaa lähdekoodia

chore(api): 修正获取设备参数接口的传参

wangcong 2 viikkoa sitten
vanhempi
sitoutus
fd5059bb6f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/api/index.ts

+ 2 - 2
src/api/index.ts

@@ -472,12 +472,12 @@ export const getDeviceListSimple = async (deviceId: number) => {
   return data;
 };
 
-export const getDeviceParams = async (deviceId: number, isProcessonData?: boolean) => {
+export const getDeviceParams = async (deviceId: number, isProcessData?: boolean) => {
   const data = await request<DeviceParamGroup[]>(apiBiz('/device/protocolParamVerify'), {
     method: 'POST',
     body: JSON.stringify({
       deviceId,
-      isProcessonData,
+      isProcessData,
     }),
   });