Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploader,AutoComplete,Select组件的优化和bug修复 #372

Open
wants to merge 45 commits into
base: master
Choose a base branch
from

Conversation

btboys
Copy link

@btboys btboys commented Oct 24, 2022

feat(AutoComplete): AutoComplete增加deletable属性
feat(Uploader): Uploader组件功能优化
1、file模式下拖拽同时支持点击上传
2、增加button的slot类型,可以自定上传按钮区域内容
3、增加buttonText属性,可以自定义上传按钮的文本内容

fix(Uploader): 修复Upload的拖拽模式错误的事件处理bug
fix(Uploader): 修复@drop事件名称错误bug

fix(Select): 修复Select的filterable下不支持slot="show"的bug

1、file模式下拖拽同时支持点击上传
2、增加button的slot类型,可以自定上传按钮区域内容
3、增加buttonText属性,可以自定义上传按钮的文本内容
…现异步关闭。

onConfirm() {
	return new Promise((resolve, reject) => {
		setTimeout(()
=> {
			resolve()
		}, 2000)
	})
}
解决实际项目中vue版本和ui依赖vue版本号不一致时,导致项目不兼容无法运行问题
filter改为支持[Function, String,
Array]三种类型
1,Function可完全自定义过滤
2,String支持指定字段过滤,支持单属性和多属性配置。例:filter="code,name"
3,Array和String功能相同,就支持数组方式配置多属性。例::filter="['code','name']"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant