前端打印console

很多时候,我们都想知道,是否已经选中或得到数据时,我们可以利用console 打印出来。console有几种方式使用。具体有:

      console.log($scope.getParkId);
           console.log($scope.getParkId);
           console.debug($scope.getParkId);
           console.info($scope.getParkId);
           console.warn($scope.getParkId);
           console.error($scope.getParkId);

结果截图:

 

posted @ 2017-02-28 09:46  liziyou  阅读(1987)  评论(0编辑  收藏  举报