From: liudaodanOo <75828211+liudaodanOo@users.noreply.github.com> Date: Sun, 13 Aug 2023 13:43:35 +0000 (+0800) Subject: chore: remove an unnecessary note 'console.log({ deltaFromCurrent })' (#1958) X-Git-Tag: v4.2.5~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a598a3474fb47f018e435c081a724721d19b0ee0;p=thirdparty%2Fvuejs%2Frouter.git chore: remove an unnecessary note 'console.log({ deltaFromCurrent })' (#1958) Co-authored-by: 刘捣蛋 [skip ci] --- 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