<input type="file" accept="image/*;capture=camera"> ccept="image/*; 这个很重要 accept="image/*; 转载于:https://www.cnblogs.com/GoodPingGe/p/5177860.html