fix(嵌入式): 嵌入式路由调整

This commit is contained in:
dataeaseShu 2025-02-18 09:40:08 +08:00 committed by taojinlong
parent 4f978eed09
commit 8e57e7f9f9

View File

@ -3,7 +3,10 @@ import type { RouteRecordRaw } from 'vue-router'
import type { App } from 'vue' import type { App } from 'vue'
export const routes: AppRouteRecordRaw[] = [] export const routes: AppRouteRecordRaw[] = []
createRouter({
history: createWebHashHistory(),
routes: routes as RouteRecordRaw[]
})
const fn = () => { const fn = () => {
console.log('push') console.log('push')
} }