handler(event){ cc.log(“event =”,event ); } 这时候能点击到此事件,不知道怎么传一个参数过来
这个richtext怎么传参数呢?
2.1.1
https://docs.cocos.com/creator/manual/zh/components/richtext.html?h=rich
这个写个定值能用。 怎么传一个动态的数值呢?
已解决 let str = “123” param = " ‘+str+’ "