onShareAppMessage 中的this 指向undefined
发布于 5 年前 作者 taojin 17684 次浏览 来自 问答
  • onShareAppMessage 中的this打印出来是undefined
  • 希望this能够获取到当前data
2 回复

可以用 onShareAppMessage: function () {} 的写法

不是undefined

回到顶部