sweetalert2 vue on ok klik halaman refresh

swal({title: "Good job", text: "You clicked the button!", type: 
"success"}).then(function(){ 
   location.reload();
   }
);
Jittery Jaguar