默认就加上需要的class
<div class="ng-hide" ng-show="project_id"></div> <div class="active" ng-class="{'active': mainView=='dragMode'}"></div>
默认就加上需要的class
<div class="ng-hide" ng-show="project_id"></div> <div class="active" ng-class="{'active': mainView=='dragMode'}"></div>