更新 front/templates/payPage.html
This commit is contained in:
parent
70c35cd5d1
commit
26d1caa42c
|
@ -358,6 +358,7 @@
|
||||||
|
|
||||||
window.addEventListener('pageshow', function(event) {
|
window.addEventListener('pageshow', function(event) {
|
||||||
if (event.persisted) { // 如果是从缓存加载(如返回操作)
|
if (event.persisted) { // 如果是从缓存加载(如返回操作)
|
||||||
|
alert('返回操作')
|
||||||
fetchPaymentMethods();
|
fetchPaymentMethods();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue