<button class="button button-outline button-positive">
<a href="www.google.com">fes</a>
</button>
如果我使用
ng-click
,效果很好,但是我需要href
。
最佳答案
放下按钮,并用类名装饰a
元素。
<a href="www.google.com" class="button button-outline button-positive">fes</a>
希望这可以帮助。
关于ionic-framework - 为什么href内部按钮不起作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29229413/