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

feat(feature):upload->preview & upload->resultfield #3707

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

electroluxcode
Copy link

@electroluxcode electroluxcode commented Mar 29, 2024

feature

  • 1.添加 uploadimgupload组件 resultField的传参,用户可以自己定义返回的值(之前默认是url)
  • 2.添加 upload 组件的 previewColumns 数据(basicTable格式),和beforePreviewData(函数格式)两个传参,前者用来定义预览组件的table显示什么,后者可以对预览组件的数据进行一次预处理
  • 3.添加了这些upload组件的示例文件,路由位置位于http://localhost:5173/#/comp/upload ,组件位置位于 src/views/demo/comp/upload/index.vue

@electroluxcode
Copy link
Author

@electroluxcode electroluxcode changed the title Feature/upload prop resultfield feat(feature):upload->preview & upload->resultfield Mar 29, 2024
@jinmao88 jinmao88 merged commit b28a46e into vbenjs:main Mar 30, 2024
2 checks passed
@vbenjs vbenjs locked and limited conversation to collaborators Aug 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants