Uncaught DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
这个错是给input的file赋值引起的。
不能给input的file类型这样赋值,
我把这个file抛出了 ,就是不要$("#"+item).val(value);