ionic2 - 深层链接不匹配
问题描述
我正在尝试在我的应用程序上使用我的网址导航,但我这样做了:
platform.ready().then(() => {
this.deeplinks.route( {
'/test': AdminPage,
}).subscribe((match) =>{
alert("MARCHEEEEE");
alert(JSON.stringify(match));
}, (noMatch) =>{
alert("CA MARCHE PAS TON DEEPLINK");
alert(JSON.stringify(noMatch));
});
当我在做的时候:http://localhost/#/test它不起作用
解决方案
推荐阅读
- spring-boot - 服务实现 - 如何根据 application.properties 属性选择使用哪个服务实现?
- laravel-5 - 试图获取非对象的属性“名称”(查看:/var/www/html/gandhisir_tests/resources/views/admin/institute/show_students.blade.php)
- vue.js - 获取未定义的 vuex 和 axios
- android-source - 我们如何在android10中挂载根文件系统
- reactjs - 如何在 Material-UI 中使用 Box 组件覆盖按钮?
- dart - 如何在 Dart 中检查动态变量的 null
- javascript - 我尝试从 slack 获取信息并使用 node-fetch 获取数据
- reactjs - 如何在 React 中设置我的背景图像适合屏幕
- javascript - 西蒙说游戏的按钮响应问题
- encryption - 从媒体特别是音频生成 xml 清单