修复 affiliate-dash 重复绑定与提交前校验:UID 未变复用绑定防重复生成二维码、提交前强制刷新绑定状态、UID 仅允许纯数字且限 15 位

This commit is contained in:
yml2213
2026-08-06 23:46:02 +08:00
parent 8756a196ae
commit 17acd65f28
6 changed files with 61 additions and 13 deletions
@@ -50,9 +50,9 @@ export function UidEditRow({
<Input
size="large"
value={uidInput}
maxLength={64}
maxLength={15}
placeholder="游戏编号"
onChange={(event) => onChange(event.target.value)}
onChange={(event) => onChange(event.target.value.replace(/\D/g, '').slice(0, 15))}
onPressEnter={onSubmit}
/>
<Tooltip title="游戏编号填错时,修改为正确编号后点击「更新 UID」即可">