1.本页跳转
$window.location.href = URL;
依赖注入$window
2.打开新的页面并跳转
window.open(URL)
3.状态跳转
$state.go('index.search', {tests: abc});
状态页 参数 值
1.本页跳转
$window.location.href = URL;
依赖注入$window
2.打开新的页面并跳转
window.open(URL)
3.状态跳转
$state.go('index.search', {tests: abc});
状态页 参数 值
转载于:https://www.cnblogs.com/HSHS/p/7682263.html
5万+

被折叠的 条评论
为什么被折叠?