fix bug
This commit is contained in:
parent
9bb73aa3f4
commit
d096d70c52
|
@ -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) {
|
||||||
|
|
Reference in a new issue