perf: 优化批量上传
This commit is contained in:
@@ -226,12 +226,12 @@ export function LevelDialog({
|
||||
onChange={(e) =>
|
||||
setFormData((prev) => ({ ...prev, answer: e.target.value }))
|
||||
}
|
||||
placeholder="请输入答案(最多4个字)"
|
||||
maxLength={4}
|
||||
placeholder="请输入答案(最多8个字)"
|
||||
maxLength={8}
|
||||
required
|
||||
/>
|
||||
<p className="text-xs text-muted-foreground text-right">
|
||||
{formData.answer.length}/4
|
||||
{formData.answer.length}/8
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user