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
H5
浏览器版本: Chrome 91.0.4472.106 使用框架: React
class App extends Component { taroGlobalData = { x: 1 } render () { return this.props.children } } 根据官网给的还是返回undefined
应该返回taroGlobalData 里面的内容
undefined
Taro CLI 3.2.10 environment info: System: OS: Windows 10 Binaries: Node: 14.15.3 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.9 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
No branches or pull requests
相关平台
H5
浏览器版本: Chrome 91.0.4472.106
使用框架: React
复现步骤
class App extends Component {
taroGlobalData = {
x: 1
}
render () {
return this.props.children
}
}
根据官网给的还是返回undefined
期望结果
应该返回taroGlobalData 里面的内容
实际结果
undefined
环境信息
The text was updated successfully, but these errors were encountered: