window.__hello("copyLink", {
params: {
str: "hello word"
},
callback: window.__copyLinkResponse = function(r) => {
console.log(r)
}
})
window.__hello = function(methodName, data) {
// 获取data.callback 方法名称 也就是 __copyLinkResponse 如何获取??
相关分类