reload page

This commit is contained in:
2023-09-29 13:04:54 +10:00
parent ff0f8194e0
commit 518b8d67bc

View File

@@ -34,7 +34,7 @@
@submit="handleSubmit"> @submit="handleSubmit">
<div <div
class="max-w-2xl mx-auto border-1 bg-white rounded-xl mt-7xl text-gray-5 px-12 py-8"> class="max-w-2xl mx-auto border-1 bg-white rounded-xl mt-7xl text-gray-5 px-12 py-8">
<h3 class="mb-4">Download Complete</h3> <h3 class="mb-4">Download Requested</h3>
<p class="mb-2"> <p class="mb-2">
If you have permission to view this document, your download If you have permission to view this document, your download
should now begin. should now begin.
@@ -43,7 +43,7 @@
<button <button
role="button" role="button"
class="font-medium block w-full md:inline-block md:w-auto px-6 py-1.5 rounded-md hover:shadow-md transition text-sm bg-sky-600 hover:bg-sky-500 text-white cursor-pointer" class="font-medium block w-full md:inline-block md:w-auto px-6 py-1.5 rounded-md hover:shadow-md transition text-sm bg-sky-600 hover:bg-sky-500 text-white cursor-pointer"
@click="handleLoad()"> @click="handleReload()">
Retry Retry
</button> </button>
<button <button
@@ -186,5 +186,9 @@ const handleLoad = async () => {
} }
}; };
const handleReload = () => {
window.location.reload();
};
handleLoad(); handleLoad();
</script> </script>