We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$(_this._opt.imgTar).on('change', function(e) { var files = e.target.files; debugger; for(var i =0;i<files.length;files){ // var file = e.target.files[0]; var file = files[i]; if(i==(files.length-1)){ //e.target.value = ''; } // if(Math.ceil(file.size/1024/1024) > _this._opt.limitSize) { // console.error('文件太大'); // return; // } var reader = new FileReader(); reader.readAsDataURL(file); reader.onload = function (f) { // if(_this._opt.showServer) { // _this.upload(f.target.result); // return ; // } console.log('>>>>>>>'+i); var img = ''; // var img = ''; _this.insertImage(img); }; } });
这月改了貌似又不对
The text was updated successfully, but these errors were encountered:
目前没实现这个功能
Sorry, something went wrong.
No branches or pull requests
$(_this._opt.imgTar).on('change', function(e) {
var files = e.target.files;
debugger;
for(var i =0;i<files.length;files){
// var file = e.target.files[0];
var file = files[i];
if(i==(files.length-1)){
//e.target.value = '';
}
// if(Math.ceil(file.size/1024/1024) > _this._opt.limitSize) {
// console.error('文件太大');
// return;
// }
var reader = new FileReader();
reader.readAsDataURL(file);
reader.onload = function (f) {
// if(_this._opt.showServer) {
// _this.upload(f.target.result);
// return ;
// }
console.log('>>>>>>>'+i);
var img = '';
// var img = '';
_this.insertImage(img);
};
}
});
这月改了貌似又不对
The text was updated successfully, but these errors were encountered: