2017-06-13 13 views

答えて

1

NG-ショーを使用します。ここで、だから、

$scope.showCloneIcon = function(scope) 
     { 

      if(scope.$parentNodeScope !== null){ 

       var parent_value = scope.$parentNodeScope.$modelValue.type_value; 

       if(parent_value === 'array_objects'){ 
        return true; 
       } 
      } 

      return true; 
     }; 

、それは要素を隠していない。この

$scope.showCloneIcon = function(scope) 
{ 
    if(scope.$parent !== null) 
    { 
    var parent_value = scope.$parent.$modelValue.type_value; 
    if(parent_value === 'array_objects') 
    { 
     return true; 
    } 
    } 
    return true; 
}; 
関連する問題