Javascript Ionic Deeplinks路由未捕获(承诺中):错误:无法匹配任何路由
我正在制作一个refferal链接,为此我使用了爱奥尼亚的deeplinks。问题是,当我尝试键入referal链接的“代码”时,会出现以下错误: 错误:未捕获(承诺中):错误:无法匹配任何路由。URL段:“搜索/hi” 错误:无法匹配任何路由。URL段:“搜索/hi” Ts: 有了密码和一些教程,我只需更改“/hi”:{}和测试的位置,一切都会好起来,但我得到了这个路由错误,我无法解决它 我是否使用了正确的模块来实现转诊链接功能Javascript Ionic Deeplinks路由未捕获(承诺中):错误:无法匹配任何路由,javascript,angular,ionic-framework,deep-linking,Javascript,Angular,Ionic Framework,Deep Linking,我正在制作一个refferal链接,为此我使用了爱奥尼亚的deeplinks。问题是,当我尝试键入referal链接的“代码”时,会出现以下错误: 错误:未捕获(承诺中):错误:无法匹配任何路由。URL段:“搜索/hi” 错误:无法匹配任何路由。URL段:“搜索/hi” Ts: 有了密码和一些教程,我只需更改“/hi”:{}和测试的位置,一切都会好起来,但我得到了这个路由错误,我无法解决它 我是否使用了正确的模块来实现转诊链接功能 this.deeplinks.route({ '/h
this.deeplinks.route({
'/hi': {}
}).subscribe(match => {
// match.$route - the route we matched, which is the matched entry from the arguments to route()
// match.$args - the args passed in the link
// match.$link - the full link data
console.log('Successfully matched route', match);
}, nomatch => {
// nomatch.$link - the full link data
console.error('Got a deeplink that didn\'t match', nomatch);
});
}