iRainna
iRainna
  • 发布:2022-12-28 13:58
  • 更新:2022-12-28 20:30
  • 阅读:356

vue3的环境下 怎么使用EventChannel

分类:uni-app

有大佬知道怎么在vue3使用吗 不知道怎么来获取

2022-12-28 13:58 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

options API

this.getOpenerEventChannel()

setup 语法糖

const instance = getCurrentInstance().proxy  
const eventChannel = instance.getOpenerEventChannel()

如果H5端使用遇到问题,参考该 帖子

要回复问题请先登录注册