Files
EdgeAdmin/web/views/@default/log/index.js
2020-11-20 16:36:03 +08:00

14 lines
273 B
JavaScript

Tea.context(function () {
this.$delay(function () {
teaweb.datepicker("day-from-picker")
teaweb.datepicker("day-to-picker")
})
this.logs.forEach(function (v) {
v.moreVisible = false
})
this.showMore = function (log) {
log.moreVisible = !log.moreVisible
}
})