Skip to content

Commit bec3579

Browse files
committed
op log
1 parent dd13532 commit bec3579

9 files changed

Lines changed: 552 additions & 2 deletions

File tree

bun.lock

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"scripts": {
55
"dev": "PUBLIC_API=https://update.reactnative.cn/api rsbuild dev",
6-
"dev:local": "rsbuild dev",
6+
"dev:local": "PUBLIC_API=http://localhost:9000 rsbuild dev",
77
"build": "NODE_ENV=production rsbuild build",
88
"preview": "rsbuild preview",
99
"lint": "tsc --noEmit & biome check --write ."
@@ -24,7 +24,9 @@
2424
"react": "^19.2.0",
2525
"react-dom": "^19.2.0",
2626
"react-router-dom": "^7.9.6",
27-
"vanilla-jsoneditor": "^3.10.0"
27+
"ua-parser-js": "^2.0.6",
28+
"vanilla-jsoneditor": "^3.10.0",
29+
"xlsx": "^0.18.5"
2830
},
2931
"devDependencies": {
3032
"@biomejs/biome": "2.3.5",

src/components/sider.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {
22
AppstoreOutlined,
3+
FileTextOutlined,
34
PlusOutlined,
45
UserOutlined,
56
} from '@ant-design/icons';
@@ -190,6 +191,11 @@ const SiderMenu = ({ selectedKeys }: SiderMenuProps) => {
190191
icon: <UserOutlined />,
191192
label: <Link to={rootRouterPath.user}>账户设置</Link>,
192193
},
194+
{
195+
key: 'audit-logs',
196+
icon: <FileTextOutlined />,
197+
label: <Link to={rootRouterPath.auditLogs}>操作日志</Link>,
198+
},
193199
{
194200
key: 'apps',
195201
icon: <AppstoreOutlined />,

0 commit comments

Comments
 (0)