同一页面之间的跳转:
$state.go('station.booking');
打开新页面的跳转方式:
var url = $state.href("knowledge.questiondetail", { questionId: selected.originalObject.id, type: 3 }, { reload: true }); window.open(url, '_blank');
同一页面之间的跳转:
$state.go('station.booking');
打开新页面的跳转方式:
var url = $state.href("knowledge.questiondetail", { questionId: selected.originalObject.id, type: 3 }, { reload: true }); window.open(url, '_blank');
转载于:https://www.cnblogs.com/lishidefengchen/p/7347061.html