直接使用tt.xx会报错找不到名称“tt”
Opened this issue · 3 comments
zhaowei97 commented
相关平台
字节跳动小程序
小程序基础库: 3.44.0.12
使用框架: React
复现步骤
直接使用tt.pay就会重现
期望结果
解决飘红问题
实际结果
tt对象飘红
环境信息
Taro CLI 3.6.35 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 16.8.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
npm: 7.21.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 3.6.35 => 3.6.35
@tarojs/components: 3.6.35 => 3.6.35
@tarojs/helper: 3.6.35 => 3.6.35
@tarojs/plugin-framework-react: 3.6.35 => 3.6.35
@tarojs/plugin-html: 3.6.35 => 3.6.35
@tarojs/plugin-platform-alipay: 3.6.35 => 3.6.35
@tarojs/plugin-platform-h5: 3.6.35 => 3.6.35
@tarojs/plugin-platform-jd: 3.6.35 => 3.6.35
@tarojs/plugin-platform-qq: 3.6.35 => 3.6.35
@tarojs/plugin-platform-swan: 3.6.35 => 3.6.35
@tarojs/plugin-platform-tt: 3.6.35 => 3.6.35
@tarojs/plugin-platform-weapp: 3.6.35 => 3.6.35
@tarojs/react: 3.6.35 => 3.6.35
@tarojs/runtime: 3.6.35 => 3.6.35
@tarojs/shared: 3.6.35 => 3.6.35
@tarojs/taro: 3.6.35 => 3.6.35
@tarojs/taro-loader: 3.6.35 => 3.6.35
@tarojs/webpack5-runner: 3.6.35 => 3.6.35
babel-preset-taro: 3.6.35 => 3.6.35
eslint-config-taro: 3.6.35 => 3.6.35
react: ^18.0.0 => 18.3.1
yclnycl commented
有异常吗 是编译错误还是idea标红