v0.16.1: 修复后台整体不可交互(node:fs 被客户端外置化报错,image-variant 改惰性获取)、字号再放大一号(15→16)、修复深色主题被烘焙 CSS 反盖(:where 降级变量块特异性)、antd v6 弃用 API 清理(Space direction→orientation/Drawer width→size)、仪表盘菜单标签改中文源串

This commit is contained in:
bigcode
2026-11-05 02:23:28 +08:00
parent a018019504
commit 1cefdecfe0
12 changed files with 30 additions and 21 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ function ProfilePage() {
return (
<Card size="small">
<PageHeader title={t("个人设置")} />
<Space direction="vertical" size={16} style={{ display: "flex", maxWidth: 820 }}>
<Space orientation="vertical" size={16} style={{ display: "flex", maxWidth: 820 }}>
<ProfileForm profile={data} />
<PasswordForm />
<McpTokenCard profile={data} />
@@ -78,7 +78,7 @@ function ProfileForm(props: { profile: ProfileData }) {
>
<Space size={20} align="start" style={{ display: "flex" }}>
<Form.Item label={t("头像")} style={{ textAlign: "center" }}>
<Space direction="vertical" size={8}>
<Space orientation="vertical" size={8}>
{avatar ? (
<Avatar size={72} src={avatar} />
) : (