From 8e57e7f9f9d0d9846eb15a75d98415ab2c3a630e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 18 Feb 2025 09:40:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E5=B5=8C?= =?UTF-8?q?=E5=85=A5=E5=BC=8F=E8=B7=AF=E7=94=B1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/router/embedded.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/router/embedded.ts b/core/core-frontend/src/router/embedded.ts index cb7f2d5ca9..23d088594d 100644 --- a/core/core-frontend/src/router/embedded.ts +++ b/core/core-frontend/src/router/embedded.ts @@ -3,7 +3,10 @@ import type { RouteRecordRaw } from 'vue-router' import type { App } from 'vue' export const routes: AppRouteRecordRaw[] = [] - +createRouter({ + history: createWebHashHistory(), + routes: routes as RouteRecordRaw[] +}) const fn = () => { console.log('push') }