2017-08-06 75 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(); 
    } 
});