mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-18 14:50:26 +08:00
17 lines
460 B
JavaScript
17 lines
460 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.$delay(function () {
|
||
|
|
let that = this
|
||
|
|
teaweb.datepicker("day-input", function (day) {
|
||
|
|
that.day = day
|
||
|
|
})
|
||
|
|
})
|
||
|
|
|
||
|
|
let that = this
|
||
|
|
this.accessLogs.forEach(function (accessLog) {
|
||
|
|
if (typeof (that.regions[accessLog.remoteAddr]) == "string") {
|
||
|
|
accessLog.region = that.regions[accessLog.remoteAddr]
|
||
|
|
} else {
|
||
|
|
accessLog.region = ""
|
||
|
|
}
|
||
|
|
})
|
||
|
|
})
|