|
@ -74,6 +74,13 @@ const ProxyList = () => { |
|
|
{ label: "邮箱通知", name: "email_flag", initialValue: true, valuePropName: "checked", component: <Switch /> } |
|
|
{ label: "邮箱通知", name: "email_flag", initialValue: true, valuePropName: "checked", component: <Switch /> } |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
|
|
|
assets: { |
|
|
|
|
|
onFinish: (values) => onFinish(values, api.set_userPrincipalBalance, '修改成功'), |
|
|
|
|
|
items: [ |
|
|
|
|
|
{ label: "当前本金", component: <Input value={currentAccount.current.principal || 0} disabled /> }, |
|
|
|
|
|
{ label: "加减金额", name: "balance", rules: [{ required: true, message: '请输入加减金额' }] }, |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
lv: { |
|
|
lv: { |
|
|
onFinish: (values) => onFinish(values, api.set_lv, '设置成功'), |
|
|
onFinish: (values) => onFinish(values, api.set_lv, '设置成功'), |
|
|
items: [ |
|
|
items: [ |
|
@ -235,6 +242,7 @@ const ProxyList = () => { |
|
|
> |
|
|
> |
|
|
<Radio.Group value={path} onChange={e => setPath(e.target.value)}> |
|
|
<Radio.Group value={path} onChange={e => setPath(e.target.value)}> |
|
|
<Radio.Button value="wallet">钱包余额</Radio.Button> |
|
|
<Radio.Button value="wallet">钱包余额</Radio.Button> |
|
|
|
|
|
<Radio.Button value="assets">资金设置</Radio.Button> |
|
|
<Radio.Button value="lv">设置级别</Radio.Button> |
|
|
<Radio.Button value="lv">设置级别</Radio.Button> |
|
|
<Radio.Button value="pwd">重置登录密码</Radio.Button> |
|
|
<Radio.Button value="pwd">重置登录密码</Radio.Button> |
|
|
<Radio.Button value="txPwd">重置交易密码</Radio.Button> |
|
|
<Radio.Button value="txPwd">重置交易密码</Radio.Button> |
|
|