1.本页跳转
$window.location.href = URL;
依赖注入$window
2.打开新的页面并跳转
window.open(URL)
3.状态跳转
$state.go('index.search', {tests: abc});
状态页 参数 值
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did222846
1.本页跳转
$window.location.href = URL;
依赖注入$window
2.打开新的页面并跳转
window.open(URL)
3.状态跳转
$state.go('index.search', {tests: abc});
状态页 参数 值