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 107 使用框架: React
import React from 'react'; import Taro from '@tarojs/taro'; import { View} from '@tarojs/components'; export default class PagePicker extends React.Component { onClick = e => { Taro.navigateTo({ url: 'pages/swiper/index' }) } render () { return ( <View className='container' onClick={this.onClick}> 我是首页 </View> ) } }
页面B
import React from 'react'; import Taro from '@tarojs/taro'; import { View } from '@tarojs/components'; export default class PageSlider extends React.Component<{}, PageSliderState> { public constructor(props) { super(props); } componentDidMount(): void { Taro.showModal({ title: '我是modal' }) } public render(): JSX.Element { return ( <View className='page' style={{backgroundColor: 'red', height: '500px'}} onTouchEnd={() => console.log('onTouchEnd')} onTouchMove={() => console.log('onTouchMove')} onTouchStart={() => console.log('onTouchStart')}> </View> ); } }
Taro v3.6.6 Taro CLI 3.6.6 environment info: System: OS: Windows 10 10.0.19044 Binaries: Node: 14.18.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD npm: 6.14.1 - C:\Program Files\nodejs\npm.CMD npmPackages: react: ^18.0.0 => 18.2.0
The text was updated successfully, but these errors were encountered:
有什么不升级taro可以hack的方法吗?
Sorry, something went wrong.
sjhleo
Successfully merging a pull request may close this issue.
相关平台
H5
浏览器版本: Chrome 107
使用框架: React
复现步骤
页面A
页面B
期望结果
实际结果
环境信息
The text was updated successfully, but these errors were encountered: