-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
F-vue2Framework - Vue 2Framework - Vue 2T-h5Target - 编译到 H5Target - 编译到 H5V-3Version - 3.xVersion - 3.xbugSomething isn't workingSomething isn't working
Description
请先确认
- 我已搜索并确定这个提交不是重复的
Taro 版本
v3
相关平台
- 所有平台
- Web 端(H5)
- 移动端(React-Native)
- 鸿蒙(Harmony)
- 鸿蒙容器(Harmony Hybrid)
- ASCF 元服务
- 快应用(QuickApp)
- 所有小程序
- 微信小程序
- 企业微信小程序
- 京东小程序
- 百度小程序
- 支付宝小程序
- 支付宝 IOT 小程序
- 头条小程序
- QQ 小程序
- 钉钉小程序
- 飞书小程序
- 快手小程序
小程序基础库版本
No response
使用框架
Vue2
问题描述
taro 项目中使用[email protected]插件,通过import 的方式引入,在编译成h5时,dev模式下,安卓9(webview 68)能正常加载,build模式下,安卓9(webview 68)报错"Uncaught SyntaxError: 'super' keyword unexpected here", source: https://***/js/619.d5d07f7a.js
复现链接
无
复现步骤
taro vue 项目中通过npm 的方式引用pdfh5,在页面中使用该插件做pdf预览,build 之后通过http-server 创建一个手机能访问的地址,在安卓9(webview 68)中进行访问
环境信息
👽 Taro v3.5.6
Taro CLI 3.5.6 environment info:
System:
OS: macOS 14.2.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.14.1 - ~/.nvm/versions/node/v16.14.1/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.5.0 - ~/.nvm/versions/node/v16.14.1/bin/npm
npmPackages:
@tarojs/cli: 3.5.6 => 3.5.6
@tarojs/components: 3.5.6 => 3.5.6
@tarojs/helper: 3.5.6 => 3.5.6
@tarojs/plugin-framework-vue2: 3.5.6 => 3.5.6
@tarojs/plugin-html: 3.5.6 => 3.5.6
@tarojs/plugin-platform-alipay: 3.5.6 => 3.5.6
@tarojs/plugin-platform-jd: 3.5.6 => 3.5.6
@tarojs/plugin-platform-qq: 3.5.6 => 3.5.6
@tarojs/plugin-platform-swan: 3.5.6 => 3.5.6
@tarojs/plugin-platform-tt: 3.5.6 => 3.5.6
@tarojs/plugin-platform-weapp: 3.5.6 => 3.5.6
@tarojs/router: 3.5.6 => 3.5.6
@tarojs/runtime: 3.5.6 => 3.5.6
@tarojs/shared: 3.5.6 => 3.5.6
@tarojs/taro: 3.5.6 => 3.5.6
@tarojs/taro-h5: 3.5.6 => 3.5.6
@tarojs/webpack5-runner: 3.5.6 => 3.5.6
babel-preset-taro: 3.5.6 => 3.5.6
npmGlobalPackages:
typescript: 5.4.5贡献代码
- 我愿意修复这个错误。请参考 (贡献指南)
Metadata
Metadata
Assignees
Labels
F-vue2Framework - Vue 2Framework - Vue 2T-h5Target - 编译到 H5Target - 编译到 H5V-3Version - 3.xVersion - 3.xbugSomething isn't workingSomething isn't working
Type
Projects
Status
Padding