提升版本并调整抢购默认设置

This commit is contained in:
yml2213
2026-06-27 08:56:26 +08:00
parent c90f80045e
commit c54d64b2eb
6 changed files with 23 additions and 16 deletions
@@ -10,7 +10,7 @@ const formData = ref({
traceEnabled: false,
traceMaxBody: 0,
logLevel: 'info',
concurrency: 80,
concurrency: 150,
attempts: 1,
retryStages: [] as RetryStage[],
seckillMode: 0
@@ -222,7 +222,7 @@ defineExpose({ open, close })
<div class="info-title">💡 抢购策略说明</div>
<ul class="info-list">
<li>抢购窗口:<strong>75 秒</strong>,自动循环重试</li>
<li>默认:前 4 秒 180ms,12 秒内 450ms,之后快速降速</li>
<li>默认:阶段 2 为 200ms,阶段 3 为 500ms,其余阶段 1000ms</li>
<li>尝试包数 &gt; 1 时,每轮使用不同的包</li>
</ul>
</div>
@@ -258,7 +258,9 @@ defineExpose({ open, close })
width: 520px;
max-width: 92vw;
max-height: 85vh;
overflow-y: auto;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: var(--shadow);
}
@@ -268,6 +270,7 @@ defineExpose({ open, close })
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(--line);
flex-shrink: 0;
}
.modal-header h3 {
@@ -301,6 +304,8 @@ defineExpose({ open, close })
.modal-body {
padding: 20px;
overflow-y: auto;
min-height: 0;
}
.form-section {
@@ -443,6 +448,8 @@ defineExpose({ open, close })
display: flex;
justify-content: flex-end;
gap: 10px;
background: var(--surface);
flex-shrink: 0;
}
.info-card {