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:新增uploader组件taro和h5上传视频和手动清除上传的功能 #748

Merged
merged 42 commits into from
Mar 1, 2023

Conversation

junjun666
Copy link
Contributor

#561
1.新增uploader组件 H5和taro的手动清空上传功能,并完善demo和文档。
2.新增uploader组件 taro上传视频的功能,并完善demo和文档。
3.新增uploader组件 taro 图片显示保持纵横比缩放。
4.重构优化uploader组件部分代码。

junjun666 and others added 30 commits December 9, 2022 18:23
@junjun666 junjun666 changed the title Chore/feat uploader feat:新增uploader组件taro和h5上传视频和手动清除上传的功能 Mar 1, 2023
@junjun666 junjun666 changed the title feat:新增uploader组件taro和h5上传视频和手动清除上传的功能 feat:新增uploader组件taro和h5上传视频和手动清除上传的功能 Mar 1, 2023

| 方法名 | 说明 | 参数 | 返回值 |
|------------------|------------------------------------------------------------|-------|--------|
| submit | 手动上传模式,执行上传操作 | - | `-` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加上版本号 v1.4.9

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

收到~

...args: any[]
) => Promise<boolean> | boolean | undefined | void

export const funInterceptor = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议不要加 func 这种标识

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

收到~


| 方法名 | 说明 | 参数 | 返回值 |
|------------------|------------------------------------------------------------|-------|--------|
| submit | 手动上传模式,执行上传操作 | - | - |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加上版本号

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

收到~

Use ref to get Uploader instance and call instance methods.

| Name | Description | Arguments | Return value |
|------------------|---------------------------------------------------------------------------------------------|-----------|--------------|
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加上版本号 1.4.9

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

收到~

@oasis-cloud oasis-cloud merged commit c15a44a into jdf2e:main Mar 1, 2023
@LicaiMaker
Copy link

#561 1.新增uploader组件 H5和taro的手动清空上传功能,并完善demo和文档。 2.新增uploader组件 taro上传视频的功能,并完善demo和文档。 3.新增uploader组件 taro 图片显示保持纵横比缩放。 4.重构优化uploader组件部分代码。

能不能让维护taro版本的同学,也解决下uploader组件不能上传视频的问题啊,感谢

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.

3 participants