From 1c866900ce5e326c20e4b0d0123990f1c84c5b06 Mon Sep 17 00:00:00 2001 From: suemor233 Date: Mon, 28 Oct 2024 22:31:56 +0800 Subject: [PATCH] perf: expand router layout padding --- src/main/tipc/app.ts | 2 +- src/renderer/src/components/layout/RouterLayout.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/tipc/app.ts b/src/main/tipc/app.ts index e4cba18..1ce213f 100644 --- a/src/main/tipc/app.ts +++ b/src/main/tipc/app.ts @@ -38,7 +38,7 @@ export const appRoute = { const result = await dialog.showMessageBox({ type: 'warning', message: input.title, - buttons: ['取消', '确定'], + buttons: ['确定','取消'], }) return !!result.response }), diff --git a/src/renderer/src/components/layout/RouterLayout.tsx b/src/renderer/src/components/layout/RouterLayout.tsx index db4918d..5f50e2d 100644 --- a/src/renderer/src/components/layout/RouterLayout.tsx +++ b/src/renderer/src/components/layout/RouterLayout.tsx @@ -13,7 +13,7 @@ export const RouterLayout: FC = ({ children, FunctionArea }) return } return ( -
+

{currentRoute?.meta.title}

{FunctionArea}