修复 affiliate-dash 重复绑定与提交前校验:UID 未变复用绑定防重复生成二维码、提交前强制刷新绑定状态、UID 仅允许纯数字且限 15 位
This commit is contained in:
@@ -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」即可">
|
||||
|
||||
Reference in New Issue
Block a user