在浏览器中正常,但在微信小游戏打包后点击事件无法执行
cc.find(“friend”, this.node)
.getComponent(cc.Button)
.node.on(
“click”,
() => {
console.log(“ceshiceshi”);
wx.shareAppMessage({
title: "转发",
query: "key1=15&key2=25",
});
},
this
);