1***@qq.com
1***@qq.com
  • 发布:2023-10-26 14:25
  • 更新:2023-10-26 14:25
  • 阅读:407

【报Bug】u-popup和u-select打包后报e.__HOLDER__ is not a function

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 11

HBuilderX类型: 正式

HBuilderX版本号: 3.8.11

第三方开发者工具版本号: 1.06.2308310

基础库版本号: 3.0.0

项目创建方式: HBuilderX

操作步骤:

uniapp使用uview打包后mp-weixin代码中出现HOLDER方法,并且在调用相关组件时报错

预期结果:

不报错

实际结果:

报错

bug描述:

npm run dev:mp-weixin 打包后,
u-popup和u-select 会报 e.HOLDER is not a function
和 Property or method "HOLDER" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
uview-ui : 1.8.7
"@dcloudio/uni-mp-weixin": 2.0.0-alpha-33020211130001

2023-10-26 14:25 负责人:无 分享
已邀请:

要回复问题请先登录注册