摘要: $state.go("index.task.selection.log", {pageNo: "1"}, {reload: true}) //reload:true 跳转页面后强制刷新代码 阅读全文
posted @ 2018-04-20 10:19 芒果加冰 阅读(437) 评论(0) 推荐(0) 编辑
摘要: .run(["$transitions",function ($transitions, $state) { $transitions.onSuccess({}, function (transition) { var currentRoute = transition.to().name; if (currentRoute.indexOf("from")... 阅读全文
posted @ 2018-04-20 10:14 芒果加冰 阅读(417) 评论(0) 推荐(0) 编辑
摘要: ng-keyup="$ctrl.enterKeySearch($event)" self.enterKeySearch = function (e) { var keycode = window.event ? e.keyCode : e.which; if (keycode == 13) { ... 阅读全文
posted @ 2018-04-20 09:43 芒果加冰 阅读(807) 评论(0) 推荐(0) 编辑