fix: i18n
This commit is contained in:
parent
b839318c5c
commit
67341a64df
|
|
@ -35,6 +35,9 @@ export default OakComponent({
|
||||||
},
|
},
|
||||||
passport: {
|
passport: {
|
||||||
systemId,
|
systemId,
|
||||||
|
type: {
|
||||||
|
$ne: 'password'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -166,6 +169,9 @@ export default OakComponent({
|
||||||
filter: {
|
filter: {
|
||||||
systemId,
|
systemId,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
type: {
|
||||||
|
$ne: 'password',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
sorter: [{
|
sorter: [{
|
||||||
$attr: {
|
$attr: {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ export default function Render(props) {
|
||||||
}} className={Style['loginbox-input']}/>
|
}} className={Style['loginbox-input']}/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="captcha">
|
<Form.Item name="captcha">
|
||||||
<Input allowClear value={captcha} size="large" maxLength={digit} placeholder={t('placeholder.Captcha')} onChange={(e) => {
|
<Input allowClear value={captcha} size="large" maxLength={digit} placeholder={t('placeholder.Captcha', { digit })} onChange={(e) => {
|
||||||
inputChange('captcha', e.target.value);
|
inputChange('captcha', e.target.value);
|
||||||
}} className={Style['loginbox-input']} suffix={<Button size="small" type="link" disabled={!!disabled || !validEmail || counter > 0} onClick={() => sendCaptcha()}>
|
}} className={Style['loginbox-input']} suffix={<Button size="small" type="link" disabled={!!disabled || !validEmail || counter > 0} onClick={() => sendCaptcha()}>
|
||||||
{counter > 0
|
{counter > 0
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,9 @@ export default OakComponent({
|
||||||
},
|
},
|
||||||
passport: {
|
passport: {
|
||||||
systemId,
|
systemId,
|
||||||
|
type: {
|
||||||
|
$ne: 'password'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -206,6 +209,9 @@ export default OakComponent({
|
||||||
filter: {
|
filter: {
|
||||||
systemId,
|
systemId,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
type: {
|
||||||
|
$ne: 'password',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
sorter: [{
|
sorter: [{
|
||||||
$attr: {
|
$attr: {
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ export default function Render(
|
||||||
value={captcha}
|
value={captcha}
|
||||||
size="large"
|
size="large"
|
||||||
maxLength={digit}
|
maxLength={digit}
|
||||||
placeholder={t('placeholder.Captcha')}
|
placeholder={t('placeholder.Captcha', { digit })}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
inputChange('captcha', e.target.value);
|
inputChange('captcha', e.target.value);
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue