From b44a8cc7916c11da1bcb360018f4a023e988729e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 17 Feb 2025 16:52:33 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/router/embedded.ts b/core/core-frontend/src/router/embedded.ts index 5464141b95..cb7f2d5ca9 100644 --- a/core/core-frontend/src/router/embedded.ts +++ b/core/core-frontend/src/router/embedded.ts @@ -5,10 +5,13 @@ import type { App } from 'vue' export const routes: AppRouteRecordRaw[] = [] const fn = () => { - console.log(fn) + console.log('push') } + const router = { - install: () => {}, + install: () => { + console.log('install') + }, currentRoute: fn, listening: true, addRoute: fn,