2017-08-06 53 views

回答

2

这覆盖在多个地方in the documentation。重申一下:你location.reload调用需要在回调:

bootbox.alert("Successfully created shipment. \n Transaction Hash is:" + data, function(){ window.location.reload(); }); 

bootbox.alert({ 
    message: "Successfully created shipment. \n Transaction Hash is:" + data), 
    callback: function(){ 
     window.location.reload(); 
    } 
});