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选项