Then in your parent (opener), set that function when that child window loads, like this: //random function you want to call function myFunc() { ... ... <看更多>
Search
Search
Then in your parent (opener), set that function when that child window loads, like this: //random function you want to call function myFunc() { ... ... <看更多>
function formSubmit(){ var data = { name:'shenbao', age: 18, }; window.opener.callback(data); //上述执行完成后,调用打开页面的callback方法, ... ... <看更多>
nw.Window.open('https://github.com', {}, function(new_win) { console.log(new_win); }); new_win is randomly undefined. ... <看更多>
log in your callback and see if it shows up at all in browser logs? redirect : function(component, event, helper) { var action = component.get(" ... ... <看更多>