|
|
@@ -417,9 +417,9 @@ define([ 'app/app' ], function(app) {
|
|
|
|
|
|
var apply = {};
|
|
|
var qualifications = [];
|
|
|
- console.log($scope.newImg);
|
|
|
- qualifications.push($scope.newImg);
|
|
|
- console.log(qualifications);
|
|
|
+ if($scope.newImg.resourceUrl) {
|
|
|
+ qualifications.push($scope.newImg);
|
|
|
+ }
|
|
|
apply.enType = $scope.tab;
|
|
|
apply.type = $scope.storeType;
|
|
|
apply.qualifications = qualifications;
|