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

[upload] props的onPreview, onSuccess, onRemove, onSelectChange未触发,图片预览报错 #966

Closed
LoopZhou opened this issue Jul 17, 2023 · 6 comments · Fixed by #967 or #987
Closed
Assignees
Labels
bug Something isn't working hard 困难问题 issueshoot 代码共建平台

Comments

@LoopZhou
Copy link
Collaborator

LoopZhou commented Jul 17, 2023

tdesign-mobile-vue 版本

1.0.0-rc.3

重现链接

No response

重现步骤

官网示例, 多选上传图片示例。

  1. props配置onPreview, onSuccess, onRemove, onSelectChange未触发, event方法正常。
  2. 图片预览时,图片不能显示。
image

期望结果

  1. props方法配置可以触发
  2. 图片可以正常预览

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

IssueShoot

  • 预估时长: 5
  • 期望完成时间: 2023-07-28 00:00:00 +0000 UTC
  • 开发难度: 高
  • 参与人数: 1
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准
@github-actions
Copy link
Contributor

👋 @LoopZhou,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao added bug Something isn't working issueshoot 代码共建平台 hard 困难问题 labels Jul 17, 2023
@yaogengzhu yaogengzhu self-assigned this Jul 23, 2023
@yaogengzhu
Copy link
Collaborator

关于 onxxx 方法不能触发的问题,需要你提供一个demo看看了 https://stackblitz.com/edit/fkgyfp?file=src%2Fdemo.vue

@LoopZhou
Copy link
Collaborator Author

官网示例, 多选上传图片示例: https://stackblitz.com/edit/cdm5rv?file=src%2Fdemo.vue

@yaogengzhu
Copy link
Collaborator

image

似乎没问题啊

@LoopZhou
Copy link
Collaborator Author

image image image

onSuccess没有触发, 只有successEvent触发,其他同理。 比如移除时,onRemove就没有打印

@yaogengzhu
Copy link
Collaborator

看起来应该存在这个问题,项目没有对这个处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hard 困难问题 issueshoot 代码共建平台
Projects
None yet
3 participants