改进
This commit is contained in:
parent
e5f4ea309f
commit
682d853c0a
@ -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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user