Quellcode durchsuchen

chore(api): 修复 eslint 错误

wangcong vor 3 Monaten
Ursprung
Commit
3fdd147d82
1 geänderte Dateien mit 20 neuen und 25 gelöschten Zeilen
  1. 20 25
      src/api/index.ts

+ 20 - 25
src/api/index.ts

@@ -1,40 +1,35 @@
 import qs from 'qs';
 
+import { request } from '@/utils';
+
 import type {
-  VerificationEquipment,
-  GatewayInformation,
-  GatewayModelInfo,
-  GatewayInterface,
   AddInterface,
-  InterfaceData,
-  ListInfo,
-  EquipmentInformationForm,
-  ProtocolList,
-  ProtocolItemData,
+  AgreementUpdate,
   DeviceGroupItem,
+  DictTypeData,
+  DictTypeDataParams,
+  EquipmentInformationForm,
   EquipmentTypeItem,
-  ProtocolReset,
-  AgreementUpdate,
-  VerificationAgreement,
-  ProtocolListItem,
-  ProtocolListPageItem,
-  ProtocolListPageItemData,
-  SerialNumberItemData,
   EquipmentUpdateForm,
+  GatewayInformation,
+  GatewayInterface,
+  GatewayModelInfo,
+  InterfaceData,
+  ListEquipmentParametersItemData,
+  ListInfo,
   PostProtocolPage,
   PostProtocolPageItemData,
-  ListEquipmentParametersItemData,
-  ProtocolGatewayListListItem,
-} from '@/types';
-
-import { request } from '@/utils';
-
-import type {
-  DictTypeData,
-  DictTypeDataParams,
   ProtocolBaseInfo,
+  ProtocolGatewayListListItem,
+  ProtocolItemData,
+  ProtocolList,
+  ProtocolListItem,
   ProtocolParamData,
   ProtocolParamSearchParams,
+  ProtocolReset,
+  SerialNumberItemData,
+  VerificationAgreement,
+  VerificationEquipment,
 } from '@/types';
 
 /**