You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
有好几处有这个代码,但这个是有问题的。
本人水平一般,>>0不知道是什么意思,百度了一下,找到 >>0 意思好像是要取整,是不是还顺便当为 undefined, null l时给赋成0。 可是这个装逼的方法没装好。
我的opts.fileNumLimit 为4G,4000_1024_1024 >> 0 成了-100663296,所以上传任何一个文件都提示 Q_EXCEED_NUM_LIMIT。
为什么 4000_1024_1024 >> 0 成了-100663296,我还不知道。
Math.round(4000_1024_1024)
parseInt(4000_1024_1024)
这两个方法都是可以的
装逼是要技术的,莫瞎装,小心雷劈啊。
The text was updated successfully, but these errors were encountered: