Commit b4757b27 authored by guantiantian's avatar guantiantian

增加isGAT未定义赋值

parent a311b2cd
...@@ -107,6 +107,9 @@ angular ...@@ -107,6 +107,9 @@ angular
).files ).files
var isGAT = $scope.isGAT == "1" ? false : true var isGAT = $scope.isGAT == "1" ? false : true
if (angular.isUndefined(isGAT)) {
isGAT = false
}
if (files.length == 0) { if (files.length == 0) {
MessageService.showAlert("请选择上传的文件...") MessageService.showAlert("请选择上传的文件...")
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment