ソースを参照

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,
     }),
   });