1.4.5.2
This commit is contained in:
22
EdgeUser/web/views/@default/finance/pay/index.js
Normal file
22
EdgeUser/web/views/@default/finance/pay/index.js
Normal file
@@ -0,0 +1,22 @@
|
||||
Tea.context(function () {
|
||||
this.isPaying = false
|
||||
|
||||
if (this.returnURL.length == 0) {
|
||||
this.returnURL = "/finance"
|
||||
}
|
||||
|
||||
// 自动刷新页面
|
||||
this.$delay(function () {
|
||||
if (!this.isPaying) {
|
||||
window.location.reload()
|
||||
}
|
||||
}, 600 * 1000)
|
||||
|
||||
this.goPay = function () {
|
||||
this.isPaying = true
|
||||
}
|
||||
|
||||
this.cancel = function () {
|
||||
this.isPaying = false
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user