fix(vimp): 修正 use-channels-query 中 cient 拼写错误

- import 与函数调用中两处 cientCatalogAllDeviceApi 修正为 clientCatalogAllDeviceApi
- 关联 9f127d2(重命名 VIMP API 文件)的残留拼写
This commit is contained in:
yangsy
2026-06-23 12:32:48 +08:00
parent 9f127d2927
commit 2f5df9a93f
@@ -4,7 +4,7 @@ import type { AxiosRequestConfig } from 'axios';
import axios from 'axios';
import { compileCodeAreas, type CodeArea, type CodeLines, type CodeSites } from '../../types';
import { useCameraStore, useAlarmStore } from '../../stores';
import { cientCatalogAllDeviceApi, clientCatalogChannelApi, type VimpChannel, type VimpSite } from '../../apis';
import { clientCatalogAllDeviceApi, clientCatalogChannelApi, type VimpChannel, type VimpSite } from '../../apis';
import { VIMP_CHANNELS_QUERY_KEY } from '../../constants';
const config: AxiosRequestConfig = {
@@ -69,7 +69,7 @@ export const useChannelsQuery = () => {
codeTrainAreas,
});
const sitesFromApi = await cientCatalogAllDeviceApi({ signal });
const sitesFromApi = await clientCatalogAllDeviceApi({ signal });
// 从 /allDevice 接口获取的站点信息并不保证真实性和完整性,
// 例如有一个站点的编码是 010699 开头,但是其下的通道是 010199 和 010599 开头,