This commit is contained in:
iVampireSP.com 2023-02-02 02:02:45 +08:00
parent e5f4ea309f
commit 682d853c0a
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 12 additions and 12 deletions

View File

@ -51,7 +51,7 @@
const inter = setInterval(function () { const inter = setInterval(function () {
axios.get(location.href) axios.get(location.href)
.then(function (response) { .then(function (response) {
if (response.data.paid_at) { if (response.data.paid_at ?? null) {
document.getElementById('pay-success').classList.remove('d-none'); document.getElementById('pay-success').classList.remove('d-none');
document.getElementById('pay').classList.add('d-none'); document.getElementById('pay').classList.add('d-none');