window.__hello("copyLink", { params: { str: "hello word" }, callback: window.__copyLinkResponse = function(r) => { console.log(r) } })window.__hello = function(methodName, data) { // 获取data.callback 方法名称 也就是 __copyLinkResponse 如何获取?? }
添加回答
举报
0/150
提交
取消