소스 검색

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

wangcong 2 주 전
부모
커밋
fd5059bb6f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,
     }),
   });