摘要: angularjs 的 $state.go() 跳转页面 ,目标页面的js函数 的执行 先于 $locationChangeStart 的监听函数。 故意 添加 timeout 可以使 controller 在locationchangestart 之后触发。 阅读全文
posted @ 2018-11-07 16:26 RoadAspen 阅读(321) 评论(0) 推荐(0) 编辑