New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue 如何兼容使用 小程序原生组件 #58
Comments
这种情况,select 兼容不是很好,请直接使用 picker 组件。 <template>
<div>
<picker @change="bindPickerChange" :value="index" :range="array">
<view class="picker">
当前选择:{{array[index]}}
</view>
</picker>
</div>
</template>
<script>
export default {
data () {
return {
index: 0,
array: ['A', 'B', 'C']
}
},
methods: {
bindPickerChange (e) {
console.log(e)
}
}
}
</script> |
Closed
当一个页面多个 picker 时,只有一个可用。代码如下,只有第二个 date picker 可正常使用
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用原生组件时,原生bindchange无法触发,无法获取选择值
2.使用select时,默认显示被修改,无法正常select
如何才能兼容使用呢?
The text was updated successfully, but these errors were encountered: