We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
小程序基础库: 2.15.0 使用框架: React
业务代码
<van-tabs animated swipeable type="card" active="2" onChange={() => { console.log('???'); }} > <van-tab title="Tab 1" name="1"> <View style={{ height: '300rpx' }}> <Text>内容 1</Text> </View> </van-tab> <van-tab title="Tab 2" name="2"> <Text>内容 2</Text> </van-tab> </van-tabs>
dist/base.wxml
<template name="tmpl_0_van-tabs"> <van-tabs id="{{i.uid}}"> <block wx:for="{{i.cn}}" wx:key="uid"> <template is="{{xs.e(cid 1)}}" data="{{i:item,l:l}}" /> </block> </van-tabs> </template>
正常绑定事件、属性。
van-tabs 相关所有绑定皆无效。
Taro CLI 3.1.1 environment info: System: OS: macOS 10.15.7 Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.14.1 - /usr/local/bin/node Yarn: 1.22.5 - ~/.yarn/bin/yarn npm: 7.6.0 - /usr/local/bin/npm npmPackages: @tarojs/cli: ^3.1.1 => 3.1.1 @tarojs/components: 3.1.1 => 3.1.1 @tarojs/mini-runner: 3.1.1 => 3.1.1 @tarojs/react: 3.1.1 => 3.1.1 @tarojs/runtime: 3.1.1 => 3.1.1 @tarojs/taro: 3.1.1 => 3.1.1 @tarojs/webpack-runner: 3.1.1 => 3.1.1 babel-preset-taro: 3.1.1 => 3.1.1 eslint-config-taro: 3.1.1 => 3.1.1 react: ^17.0.0 => 17.0.1
The text was updated successfully, but these errors were encountered:
fix(mini-runner): 兼容 react17,fix #8797
8fee288
Successfully merging a pull request may close this issue.
相关平台
微信小程序
小程序基础库: 2.15.0
使用框架: React
复现步骤
业务代码
dist/base.wxml
期望结果
正常绑定事件、属性。
实际结果
van-tabs 相关所有绑定皆无效。
环境信息
The text was updated successfully, but these errors were encountered: