关于增加版本信息展示

This commit is contained in:
whyour
2022-11-05 11:01:58 +08:00
parent 90af5801ee
commit 23bda39812
5 changed files with 90 additions and 17 deletions
+10 -3
View File
@@ -40,8 +40,15 @@ const optionsWithDisabled = [
];
const Setting = () => {
const { headerStyle, isPhone, user, reloadUser, reloadTheme, socketMessage } =
useOutletContext<SharedContext>();
const {
headerStyle,
isPhone,
user,
reloadUser,
reloadTheme,
socketMessage,
systemInfo,
} = useOutletContext<SharedContext>();
const columns = [
{
title: '名称',
@@ -411,7 +418,7 @@ const Setting = () => {
{
key: 'about',
label: '关于',
children: <About />,
children: <About systemInfo={systemInfo} />,
},
]}
></Tabs>