1
私はちょうど別のページに移動したいです。 hrefは機能しません。イオンhrefが動作しない
HTMLコード:App.js
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
.state('app.top', {
url: '/top',
views: {
'menuContent': {
templateUrl: 'templates/top.html'
}
}
});
});
で
<a class="item item-avatar" href="#/app/top">
<img src="../img/cool.png">
<h2>Cool Status <p style="float:right;"> >></p></h2>
</a>
私も https://forum.ionicframework.com/t/ionic-href-not-working/17750 上のフォーラムを読んでいますが、それでも私はそのいずれかの仮定してい
あなたがここにあなたの例では、ルートが欠落しているかのhrefあなたは 'UIを使用する必要があります – George
'#/ top'のいずれかである必要があり-sref = "app.top" ' – devqon