From b5210eb4521804a8abc53d1481dd219a49b562e1 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Mon, 25 Nov 2024 10:56:06 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20useRouteListener?= =?UTF-8?q?=20=E6=B3=A8=E9=87=8A=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/useRouteListener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useRouteListener.ts b/src/composables/useRouteListener.ts index 6084aa4..6f1ee1e 100644 --- a/src/composables/useRouteListener.ts +++ b/src/composables/useRouteListener.ts @@ -19,7 +19,7 @@ export function setRouteChange(to: RouteLocationNormalized) { /** 单独监听路由会浪费渲染性能,使用发布订阅模式去进行分发管理 */ export function useRouteListener() { - /** 回调函数集合 */ + // 回调函数集合 const callbackList: Callback[] = [] /** 监听路由变化(可以选择立即执行) */