修复 TypeScript 类型错误:将 MUI sx 语法改成标准 CSS 属性

This commit is contained in:
雨霖铃
2026-05-22 00:38:48 +08:00
parent 427e668e7c
commit 6711783975
7 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export default function Index() {
{ value: 's', label: t('timestamp:unitS') },
]}
onChange={(v) => setUnit(v as 'ms' | 's')}
sx={{ width: 'auto', mb: 0, flexShrink: 0 }}
sx={{ width: 'auto', marginBottom: 0, flexShrink: 0 }}
size="small"
/>