autoComplete=off

This commit is contained in:
chenos 2021-01-07 23:21:17 +08:00
parent 07b982960d
commit ef7cc13ae1
3 changed files with 5 additions and 3 deletions

View File

@ -128,10 +128,10 @@ interface FilterItemProps {
const OP_MAP = {
string: [
{label: '等于', value: 'eq', selected: true},
{label: '不等于', value: 'ne'},
{label: '包含', value: '$includes'},
{label: '包含', value: '$includes', selected: true},
{label: '不包含', value: '$notIncludes'},
{label: '等于', value: 'eq'},
{label: '不等于', value: 'ne'},
{label: '非空', value: '$notNull'},
{label: '为空', value: '$null'},
],

View File

@ -8,6 +8,7 @@ export const Input = connect<'TextArea'>({
getComponent: mapTextComponent
})(acceptEnum(({onChange, ...restProps}) => (
<AntdInput
autoComplete={'off'}
{...restProps}
onChange={(e) => {
// 文本字段,如果空要 null 处理

View File

@ -18,6 +18,7 @@ export const Password = connect({
return (
<span className={className}>
<Input.Password
autoComplete={'off'}
{...others}
value={value}
onChange={(e) => {