This commit is contained in:
MaysWind 2016-06-21 00:22:18 +08:00
parent 9bb73aa3f4
commit d096d70c52

View file

@ -122,7 +122,7 @@
} }
}; };
if (!angular.isUndefined(ngModel)) { if (ngModel) {
scope.$watch(function () { scope.$watch(function () {
return ngModel.$viewValue; return ngModel.$viewValue;
}, function (value) { }, function (value) {