From 0eac20c50581b2014f78a4a75be6b9343c6c9256 Mon Sep 17 00:00:00 2001 From: novrain Date: Wed, 13 Dec 2023 23:15:31 +0800 Subject: [PATCH] :bug: ts check. --- src/renderer/src/router/index.ts | 1 + src/renderer/src/views/SessionManager.vue | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/router/index.ts b/src/renderer/src/router/index.ts index 8d433c6..7a7efb7 100644 --- a/src/renderer/src/router/index.ts +++ b/src/renderer/src/router/index.ts @@ -4,6 +4,7 @@ import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router' const routes = [] as RouteRecordRaw[] const router = createRouter({ + // @ts-ignore history: createWebHistory(process.env.BASE_URL), routes, }) diff --git a/src/renderer/src/views/SessionManager.vue b/src/renderer/src/views/SessionManager.vue index 84b1442..cb7870b 100644 --- a/src/renderer/src/views/SessionManager.vue +++ b/src/renderer/src/views/SessionManager.vue @@ -16,6 +16,7 @@