mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:36:44 +00:00
autoComplete=off
This commit is contained in:
parent
07b982960d
commit
ef7cc13ae1
@ -128,10 +128,10 @@ interface FilterItemProps {
|
|||||||
|
|
||||||
const OP_MAP = {
|
const OP_MAP = {
|
||||||
string: [
|
string: [
|
||||||
{label: '等于', value: 'eq', selected: true},
|
{label: '包含', value: '$includes', selected: true},
|
||||||
{label: '不等于', value: 'ne'},
|
|
||||||
{label: '包含', value: '$includes'},
|
|
||||||
{label: '不包含', value: '$notIncludes'},
|
{label: '不包含', value: '$notIncludes'},
|
||||||
|
{label: '等于', value: 'eq'},
|
||||||
|
{label: '不等于', value: 'ne'},
|
||||||
{label: '非空', value: '$notNull'},
|
{label: '非空', value: '$notNull'},
|
||||||
{label: '为空', value: '$null'},
|
{label: '为空', value: '$null'},
|
||||||
],
|
],
|
||||||
|
@ -8,6 +8,7 @@ export const Input = connect<'TextArea'>({
|
|||||||
getComponent: mapTextComponent
|
getComponent: mapTextComponent
|
||||||
})(acceptEnum(({onChange, ...restProps}) => (
|
})(acceptEnum(({onChange, ...restProps}) => (
|
||||||
<AntdInput
|
<AntdInput
|
||||||
|
autoComplete={'off'}
|
||||||
{...restProps}
|
{...restProps}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
// 文本字段,如果空要 null 处理
|
// 文本字段,如果空要 null 处理
|
||||||
|
@ -18,6 +18,7 @@ export const Password = connect({
|
|||||||
return (
|
return (
|
||||||
<span className={className}>
|
<span className={className}>
|
||||||
<Input.Password
|
<Input.Password
|
||||||
|
autoComplete={'off'}
|
||||||
{...others}
|
{...others}
|
||||||
value={value}
|
value={value}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user