Files
zszq-trs/项目文档/JS组件/FastVue.txt
2024-05-09 14:06:26 +08:00

26 lines
916 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1.FastVue.autocomplete(el, options, context)
1.1 文档地址:https://www.devbridge.com/sourcery/components/jquery-autocomplete/
1.2 options扩展配置
---- valueFieldstring, 选项数据值属性字段,默认:value
---- nameField: string, 选项数据显示属性字段,默认赋valueField值
---- searchField:string 或 string array, 搜索字段配置
---- lookup:
array,使用searchField检索可选项
function,自定义选项数据检索函数,如果设置了以后,searchField不再起作用
---- onSelect(data): function,选项被选取后的回调函数,值为选择项数据
1.3 返回结果对象说明
---- setData: 设置当前选项数据
---- dispose: 释放autocomplete控件
2.FastVue.numberInput(el, options)
2.1 options
---- append:
---- precision:
---- negative:
---- onchange(value):
2.2 返回结果对象说明
---- getValue:
---- setValue:
---- setOptions:
---- dispose: