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