Skip to content

upload组件如何排除 #3624

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

Open
farsunset-com opened this issue Apr 30, 2025 · 6 comments
Open

upload组件如何排除 #3624

farsunset-com opened this issue Apr 30, 2025 · 6 comments
Labels
question This is a question, not a bug

Comments

@farsunset-com
Copy link

tdesign-miniprogram 版本

1.8.7

重现链接

No response

重现步骤

upload.js 里面包含了如下操作代码,但是应用并未调用,小程序隐私保护指引里面让我填,我没用到怎么填,客服让我删掉代码,我怎么删

开发者收集你选中的文件,用于
开发者收集你选中的照片或视频信息,用于

收集你选中的照片或视频信息 | wx.chooseImage、wx.chooseMedia、wx.chooseVideo

收集你选中的文件 | wx.chooseMessageFile

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

Copy link
Contributor

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

@anlyyao
Copy link
Collaborator

anlyyao commented May 7, 2025

@farsunset-com 勾选下“上传时过滤无依赖文件”,如果没用到 upload 组件,会移除这个组件源码.

Image

如果引入了 upload 组件,该组件确实使用了微信提供的选择用户相册中图片接口 (wx.chooseImage/wx.chooseMessageFile),涉及获取用户隐私信息。 需要根据微信《用户隐私保护指引填写说明》,填写用户隐私保护指引信息

@anlyyao anlyyao added the question This is a question, not a bug label May 7, 2025
@farsunset-com
Copy link
Author

farsunset-com commented May 7, 2025

在应用代码里面确实没有使用,也勾选了过滤无依赖,但是隐私保护里面依然提示代码中存在
@anlyyao
Image

@anlyyao
Copy link
Collaborator

anlyyao commented May 8, 2025

@farsunset-com 不是你实际有咩有使用的问题,是你上传的代码里面有没有的问题!

@anlyyao
Copy link
Collaborator

anlyyao commented May 8, 2025

@farsunset-com 不是你实际有咩有使用的问题,是你上传的代码里面有没有的问题!

上传代码包里面包含了 wx.chooseImage、wx.chooseMedia、wx.chooseVideo、wx.chooseMessageFile 就需要填隐私保护

@farsunset-com
Copy link
Author

farsunset-com commented May 8, 2025

@anlyyao 我看到这个代码里面都是upload.js 里面 都是npm下载的sdk里面的 我如何删除呢,看是是不我项目配置有问题吗
这个是项目目录
Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants