From ee68a2032ea08fd77f9a0b59b68f9979d9135f9f Mon Sep 17 00:00:00 2001 From: yangsy Date: Tue, 23 Jun 2026 12:32:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(vimp):=20=E4=BF=AE=E6=AD=A3=20use-channels-?= =?UTF-8?q?query=20=E4=B8=AD=20cient=20=E6=8B=BC=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - import 与函数调用中两处 cientCatalogAllDeviceApi 修正为 clientCatalogAllDeviceApi - 关联 9f127d2(重命名 VIMP API 文件)的残留拼写 --- src/pages/vimp/composables/query/use-channels-query.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/vimp/composables/query/use-channels-query.ts b/src/pages/vimp/composables/query/use-channels-query.ts index e4e990b..70c2698 100644 --- a/src/pages/vimp/composables/query/use-channels-query.ts +++ b/src/pages/vimp/composables/query/use-channels-query.ts @@ -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 开头,