<input type="file" onchange="angular.element(this).scope().addPhoto(this,event)" accept="image/*" >

 

在js 的成功回调函数中

$scope.addPhoto = function(file,e){

    //成功的回调

  e.target.value = ''; //置为空

}

相关文章: