From 9532cfbe2e6d860472e861e5a8f745db91480708 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 31 Dec 2025 15:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A=EF=BC=8C?= =?UTF-8?q?=E6=98=8E=E7=A1=AE=E5=B7=B2=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9A=84?= =?UTF-8?q?query=E5=92=8Cworker=E5=AE=9E=E4=BE=8B=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=BC=96=E8=BE=91=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- query/query-proxy/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/query/query-proxy/index.ts b/query/query-proxy/index.ts index 49ed692..9075c45 100644 --- a/query/query-proxy/index.ts +++ b/query/query-proxy/index.ts @@ -14,7 +14,7 @@ export type RouterViewApi = { type: 'api', api: { url: string, - // 已初始化的query实例 + // 已初始化的query实例,不需要编辑配置 query?: Query } } & RouteViewBase; @@ -23,7 +23,7 @@ export type RouterViewContext = { type: 'context', context: { key: string, - // 从context中获取router + // 从context中获取router,不需要编辑配置 router?: QueryRouterServer } } & RouteViewBase; @@ -32,7 +32,7 @@ export type RouterViewWorker = { worker: { type: 'Worker' | 'SharedWorker' | 'serviceWorker', url: string, - // 已初始化的worker实例 + // 已初始化的worker实例,不需要编辑配置 worker?: Worker | SharedWorker | ServiceWorker, /** * worker选项