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

[image-viewer] 图片链接带有参数时,下载时文件扩展名丢失 #2935

Closed
nined9 opened this issue Jun 2, 2023 · 1 comment
Closed
Labels
to be published to be published

Comments

@nined9
Copy link
Contributor

nined9 commented Jun 2, 2023

重现链接

https://stackblitz.com/edit/1ox48q?file=package.json,src%2Fdemo.vue

重现步骤

在链接后面添加任意参数即可

期望结果

保存时有扩展名

实际结果

链接有参数时,问号会被替换成下划线,#会连接扩展名,导致原本的扩展名失效

Environment Info
相关版本 1.3.5
框架版本 / 基础库版本 Vue(3.2.41)
系统、浏览器 MacOS(13.3.1) Chrome(112.0.5615.137)
Node版本
@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published to be published
Projects
None yet
Development

No branches or pull requests

3 participants