type-file - input type=file 的 maxLength是多少 问 题 var input = document.querySelector("[type=file]"); input.addEventListener('change', function (e) { var maxLength = this.maxLength; console.log(maxLength);//524288 }, false); 这里的maxLength .. 发布时间:2017-09-06 11:54:48 maxlength type-file input 其他开发