ui-router用$urlRouter, $urlMatcherFactory經過urlMatcher轉換成實際url

var urlMatcher = $urlMatcherFactory.compile(config.url);url

var url = $urlRouter.href(urlMatcher, {
query:123,
stepIndex: 'kkkkdfasdfasd'
});console

console.log(url);query

 

//不過,有父節點的話就有問題co

相關文章
相關標籤/搜索