Skip to content
New issue

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

Taro升级到3.3.17后。Taro.uploadFile()接口在h5上会报错 #10951

Closed
Breeze1114 opened this issue Dec 22, 2021 · 0 comments · Fixed by #10950 or #10972
Closed

Taro升级到3.3.17后。Taro.uploadFile()接口在h5上会报错 #10951

Breeze1114 opened this issue Dec 22, 2021 · 0 comments · Fixed by #10950 or #10972
Labels
F-vue3 Framework - Vue 3 T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@Breeze1114
Copy link

相关平台

H5

浏览器版本: Chrome 88.0.4324.182
使用框架: Vue 3

复现步骤

上传文件就报错 TypeError: tarojs_taro__WEBPACK_IMPORTED_MODULE_4_.default.uploadFile is not a function
image

期望结果

可以正常上传图片

实际结果

上传图片报错

环境信息

Taro CLI 3.3.17 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 12.20.0 - D:\Program Files\nodejs\node.EXE
      npm: 6.14.8 - D:\Program Files\nodejs\npm.CMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue3 Framework - Vue 3 T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant