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}