iview-weapp
iview-weapp copied to clipboard
mpvue中 i-radio-group的change事件如何传入current多个值?
mpvue+iview-weapp开发 i-radio-group的change事件如何传入current对象,但是current对象中只有value一个值,试着绑定了其他属性,没有用.
<i-panel title="证件类型">
<i-radio-group :current="current" @change="handleFruitChange">
<i-radio v-for="item in cardTypes" :data-code="item.vaule" :key="item.value" :value="item.name">
{{item.name}}
</i-radio>
</i-radio-group>
</i-panel>
我试着绑定了data-code,name等属性,在handleFruitChange 方法中无法获取. 另外也在i-radio 标签添加change事件也没有任何反应.
大佬,你是怎么在mpvue里面使用iview的,我配置后,编译后没有显示内容
我也是,你是用的最新版本的吧?html生成了,但是js和css没有起作用
我也有这种需求,请问您是怎么解决的。。