鸿蒙系统中 getSystemInfoSync system为null
Opened this issue · 0 comments
wikiwikiki commented
相关平台
H5
浏览器版本: 鸿蒙自带浏览器****小程序基础库: 2.33.0
使用框架: React
复现步骤
在鸿蒙上打印一下即可
期望结果
期望正常返回 “harmony”
实际结果
null
环境信息
Taro v3.6.10
Taro CLI 3.6.10 environment info:
System:
OS: macOS 13.0
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v16.20.2/bin/yarn
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
npmPackages:
@tarojs/cli: 3.6.10 => 3.6.10
@tarojs/components: 3.6.10 => 3.6.10
@tarojs/plugin-framework-react: 3.6.10 => 3.6.10
@tarojs/plugin-html: 3.6.10 => 3.6.10
@tarojs/plugin-platform-alipay: 3.6.10 => 3.6.10
@tarojs/plugin-platform-h5: 3.6.10 => 3.6.10
@tarojs/plugin-platform-weapp: 3.6.10 => 3.6.10
@tarojs/react: 3.6.10 => 3.6.10
@tarojs/taro: 3.6.10 => 3.6.10
@tarojs/webpack5-runner: 3.6.10 => 3.6.10
babel-preset-taro: 3.6.10 => 3.6.10
eslint-config-taro: 3.6.10 => 3.6.10
react: ^18.0.0 => 18.2.0