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

现在有上传限制了。大于200M不能上传,大佬有空解决吗 #92

Open
cnbetac opened this issue Jan 29, 2021 · 2 comments
Open

Comments

@cnbetac
Copy link

cnbetac commented Jan 29, 2021

我的操作系统win8 64

我的浏览器是Firefox 84.02

我的油猴插件是/Tamper)monkey,版本是4.11.4160

我的控制台日志如下 (firefox 用户请拷贝 Ctrl+Shift+J 界面中的内容)

我遇到了什么问题,截图

QQ截图20210130020148

@anonymouswhac
Copy link

红字提醒了要用客户端上传,
另外你也可以在浏览器开发者工具-控制台输入下面的代码回车后再上传。
var fakeSizeLimitGetter = function () { return 2147483648; }; if (Object.defineProperty) { Object.defineProperty(UPLOAD_CONFIG_H5, "size_limit", { get: fakeSizeLimitGetter }); } else if (Object.prototype.__defineGetter__) { UPLOAD_CONFIG_H5.__defineGetter__("size_limit", fakeSizeLimitGetter); }

@Licolnlee
Copy link

红字提醒了要用客户端上传, 另外你也可以在浏览器开发者工具-控制台输入下面的代码回车后再上传。 var fakeSizeLimitGetter = function () { return 2147483648; }; if (Object.defineProperty) { Object.defineProperty(UPLOAD_CONFIG_H5, "size_limit", { get: fakeSizeLimitGetter }); } else if (Object.prototype.__defineGetter__) { UPLOAD_CONFIG_H5.__defineGetter__("size_limit", fakeSizeLimitGetter); }

我这里报错 Uncaught ReferenceError: UPLOAD_CONFIG_H5 is not defined

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

No branches or pull requests

3 participants