taro icon indicating copy to clipboard operation
taro copied to clipboard

taro4.08版本: taro.getSystemInfoSync is not a function

Open lx-summer opened this issue 1 year ago • 3 comments

相关平台

H5

复现仓库

https://gitee.com/lxsummer/video-app.git 浏览器版本: Chrom 131.0.6778.205(正式版本) (arm64) 使用框架: React

复现步骤

列表页面,组件错误,taro.getSystemInfoSync is not a function

期望结果

taro.getSystemInfoSync is not a function

实际结果

taro.getSystemInfoSync方法存在

环境信息

👽 Taro v3.6.33


  Taro CLI 3.6.33 environment info:
    System:
      OS: macOS 14.0
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node
      Yarn: 1.22.18 - /usr/local/bin/yarn
      npm: 10.2.4 - ~/.nvm/versions/node/v18.19.1/bin/npm
    npmPackages:
      @tarojs/cli: 4.0.8 => 4.0.8 
      @tarojs/components: 4.0.8 => 4.0.8 
      @tarojs/helper: 4.0.8 => 4.0.8 
      @tarojs/plugin-framework-react: 4.0.8 => 4.0.8 
      @tarojs/plugin-html: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-alipay: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-h5: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-jd: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-qq: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-swan: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-tt: 4.0.8 => 4.0.8 
      @tarojs/plugin-platform-weapp: 4.0.8 => 4.0.8 
      @tarojs/react: 4.0.8 => 4.0.8 
      @tarojs/runtime: 4.0.8 => 4.0.8 
      @tarojs/shared: 4.0.8 => 4.0.8 
      @tarojs/taro: 4.0.8 => 4.0.8 
      babel-preset-taro: 4.0.8 => 4.0.8 
      eslint-config-taro: 4.0.8 => 4.0.8 
      react: ^18.0.0 => 18.3.1 

lx-summer avatar Jan 09 '25 18:01 lx-summer

未能复现

erweixin avatar Mar 03 '25 07:03 erweixin

未能复现

dev:h5,,Taro.showToast is not a function,,h5,Taro的api没有挂在Taro下

huaqitian avatar Apr 23 '25 14:04 huaqitian

未能复现

dev:h5,,Taro.showToast is not a function,,h5,Taro的api没有挂在Taro下

问题解决了吗,4.1.1也不行,h5下Taro.showToast is not a function

hdy1023 avatar May 27 '25 06:05 hdy1023