From 3b441fd7ef6c5ca219924b50b6109e7932c414cf Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 3 Aug 2022 16:36:52 +0800 Subject: [PATCH] docs: add router history doc --- yudao-ui-admin-vue3/src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-ui-admin-vue3/src/router/index.ts b/yudao-ui-admin-vue3/src/router/index.ts index 10269e436..ccdcbdeb0 100644 --- a/yudao-ui-admin-vue3/src/router/index.ts +++ b/yudao-ui-admin-vue3/src/router/index.ts @@ -18,7 +18,7 @@ const { loadStart, loadDone } = usePageLoading() // 创建路由实例 const router = createRouter({ - history: createWebHashHistory(), + history: createWebHashHistory(), // createWebHashHistory URL带#,createWebHistory URL不带# strict: true, routes: remainingRouter as RouteRecordRaw[], scrollBehavior: () => ({ left: 0, top: 0 })