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

可不可以在文件上传的accept 中加上webp #80

Closed
Hocheese opened this issue Jul 3, 2023 · 1 comment
Closed

可不可以在文件上传的accept 中加上webp #80

Hocheese opened this issue Jul 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Hocheese
Copy link

Hocheese commented Jul 3, 2023

现在要打开webp格式的文件,要手动选择“所有文件”,对用户来说非常麻烦

@acccccccb acccccccb added the enhancement New feature or request label Jul 5, 2023
@acccccccb
Copy link
Owner

你可以将/src/components/ImgCutter.vue文件复制到你的项目中,并修改第215行
accept="image/gif, image/jpeg ,image/png"
修改为
accept="accept="image/gif, image/jpeg, image/png, image/webp""

下个版本我会把这个配置加上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants