9***@qq.com
9***@qq.com
  • 发布:2025-09-08 14:45
  • 更新:2025-09-08 14:45
  • 阅读:20

使用HBuilderX 调试uni-appx 安卓项目时defineEmits 编译报错

分类:HBuilderX

使用最基础的 const emit = defineEmits(["click", "opened", "closed"])时编译报错

使用的MAC电脑运行安卓模拟器时

const: _cache = __ins.renderCache,
14:41:12.561 21 | function: emit(event, string, ...do_not_transform_spread, Array<any | null>)
14:41:12.561 22 | }, {
14:41:12.561 23 | __ins, : .emit(event, ...do_not_transform_spread)
14:41:12.561 : ^
14:41:12.561 24 | });

2025-09-08 14:45 负责人:无 分享
已邀请:

要回复问题请先登录注册