在使用formCreate的autoComplete时,设置了data后报了如下的错误
在props中添加filterMethod就可以解决,例如:
props: {
data: ['1234', '23344'],
filterMethod: (value, option) => option.indexOf(value) !== -1,
}
在使用formCreate的autoComplete时,设置了data后报了如下的错误
在props中添加filterMethod就可以解决,例如:
props: {
data: ['1234', '23344'],
filterMethod: (value, option) => option.indexOf(value) !== -1,
}