diff --git a/web/frontend/src/pages/AutomationPage.tsx b/web/frontend/src/pages/AutomationPage.tsx index 7efbe33..a20b17e 100644 --- a/web/frontend/src/pages/AutomationPage.tsx +++ b/web/frontend/src/pages/AutomationPage.tsx @@ -274,6 +274,9 @@ export default function AutomationPage() { />
+ {/* ⚠️ 必须有个纵向容器:`layout="inline"` 会把直接子元素排成一行, + 5 张 Card 会横着挤在一起且丢掉间距(真踩过)。 */} + {jobs.map((job) => ( ) : null } - style={{ marginBottom: 16 }} + style={{ width: '100%' }} > @@ -319,6 +322,8 @@ export default function AutomationPage() { 点第一张卡的保存,跑的其实是**最后一张卡**的保存(真踩过: 存「账号资料定时补全」提示的是「积分到期补记」,即存错了作业)。 Form 统一提到这一层外面,各卡只用 Form.Item 的 [job.key, 字段] 区分。 */} + {/* 字段行:显式 gap 撑开,别让输入框挤在一起 */} + - - + +