- 博客(2)
- 收藏
- 关注
原创 js返回两个数之间的随机数
//方法一:function rd(n,m){ var c = m-n+1; return Math.floor(Math.random() * c + n); } //方法二:function selectfrom (lowValue,highValue){ var choice=highValue-lowValue+1; return Math.floor
2016-12-23 12:20:17 2231
原创 angular自定义指令templateUrl
app.directive('myTab',function(){ return { restrict:'E', //组合使用 replace:true, // scope:true, scope:{ myId:'@', myData:'=' }, controller:['$scope',function($scope)
2016-12-22 00:57:51 1430
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人