added for point.object_type

pull/107/head
Caozhenhui 2021-12-30 15:48:38 +08:00
parent 4777e1f275
commit 19597adc41
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ app.controller('ModalAddPointCtrl', function($scope, $uibModalInstance) {
$scope.cancel = function() {
$uibModalInstance.dismiss('cancel');
};
$scope.$watch("point.object_type",function () {
$scope.point.is_virtual = false;
})
});
app.controller('ModalEditPointCtrl', function($scope, $uibModalInstance, params) {