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
百度小程序
小程序基础库: 3.310.35 使用框架: React
Taro.showActionSheet({ itemList: ['切换数据环境', '清除缓存', '打印store数据'], success(res){ Taro.showActionSheet({ itemList: ['生产环境', '预发环境', '测试环境'], success(response){ console.log('re', response) } }) } })
代码能够正常运行
报错:{errCode: 201, errMsg: "showActionSheet:fail cancel"}
👽 Taro v3.5.0 Taro CLI 3.5.0 environment info: System: OS: macOS 12.0.1 Shell: 5.8 - /bin/zsh Binaries: Node: 14.16.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 6.14.12 - /usr/local/bin/npm npmPackages: @tarojs/cli: 3.4.12 => 3.4.12 @tarojs/components: 3.4.12 => 3.4.12 @tarojs/mini-runner: 3.4.12 => 3.4.12 @tarojs/plugin-framework-react: 3.4.12 => 3.4.12 @tarojs/react: 3.4.12 => 3.4.12 @tarojs/runtime: 3.4.12 => 3.4.12 @tarojs/taro: 3.4.12 => 3.4.12 @tarojs/webpack-runner: 3.4.12 => 3.4.12 babel-preset-taro: 3.4.12 => 3.4.12 eslint-config-taro: 3.4.12 => 3.4.12 react: ^17.0.2 => 17.0.2 npmGlobalPackages: typescript: 4.7.4
The text was updated successfully, but these errors were encountered:
@zht0102 这是小程序自身的限制吧,你可以用 swan.showActionSheet 尝试一下,应该也是一样的。
swan.showActionSheet
Sorry, something went wrong.
No branches or pull requests
相关平台
百度小程序
小程序基础库: 3.310.35
使用框架: React
复现步骤
Taro.showActionSheet({
itemList: ['切换数据环境', '清除缓存', '打印store数据'],
success(res){
Taro.showActionSheet({
itemList: ['生产环境', '预发环境', '测试环境'],
success(response){
console.log('re', response)
}
})
}
})
期望结果
代码能够正常运行
实际结果
报错:{errCode: 201, errMsg: "showActionSheet:fail cancel"}
环境信息
The text was updated successfully, but these errors were encountered: