在anguglar中注入'$timeout' 然后: $timeout(function{},0,false); 转载于:https://www.cnblogs.com/linjiangjin/p/10188778.html