From a598a3474fb47f018e435c081a724721d19b0ee0 Mon Sep 17 00:00:00 2001 From: liudaodanOo <75828211+liudaodanOo@users.noreply.github.com> Date: Sun, 13 Aug 2023 21:43:35 +0800 Subject: [PATCH] chore: remove an unnecessary note 'console.log({ deltaFromCurrent })' (#1958) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Co-authored-by: 刘捣蛋 [skip ci] --- packages/router/src/history/html5.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/router/src/history/html5.ts b/packages/router/src/history/html5.ts index f945fe45..9388e8f2 100644 --- a/packages/router/src/history/html5.ts +++ b/packages/router/src/history/html5.ts @@ -91,7 +91,6 @@ function useHistoryListeners( replace(to) } - // console.log({ deltaFromCurrent }) // Here we could also revert the navigation by calling history.go(-delta) // this listener will have to be adapted to not trigger again and to wait for the url // to be updated before triggering the listeners. Some kind of validation function would also -- 2.47.2