From 5a3e129a1146d5fe613f15b5326d230376ffcc26 Mon Sep 17 00:00:00 2001 From: Odboy Date: Mon, 5 Feb 2024 20:00:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=B7=AF=E7=94=B1=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E5=8A=A0=E8=BD=BD=20ook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/router/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/router/index.js b/web/src/router/index.js index 9530c6d..05d8c5f 100755 --- a/web/src/router/index.js +++ b/web/src/router/index.js @@ -113,11 +113,11 @@ export function resetRouter (routes = []) { router.beforeEach(async (to, from, next) => { // 进度条 NProgress.start() - console.log('即将进入的路由:', to); - console.log('当前离开的路由:', from); + console.log('即将进入的路由:', to) + console.log('当前离开的路由:', from) // 获取路由参数或查询参数 - console.log('路由参数:', to.params); - console.log('查询参数:', to.query); + console.log('路由参数:', to.params) + console.log('查询参数:', to.query) // 确认已经加载多标签页数据 https://github.com/d2-projects/d2-admin/issues/201 await store.dispatch('d2admin/page/isLoaded') // 确认已经加载组件尺寸设置 https://github.com/d2-projects/d2-admin/issues/198