【发布时间】:2017-12-16 10:22:47
【问题描述】:
如何在单选按钮选择上显示不同的组件。
<input type="radio" name="book" value="One" checked="checked">
<input type="radio" name="book" value="Round">
<div> // this should show show default, One is selected
<p>Value One</p>
</div>
<div> // this should show show on radio change to Round selected
<p>Value Round</p>
</div>
【问题讨论】:
标签: vue.js vuejs2 vue-component