diff --git a/src/views/system/log/abnormalLog/index.vue b/src/views/system/log/abnormalLog/index.vue index 0756171e..801ac495 100644 --- a/src/views/system/log/abnormalLog/index.vue +++ b/src/views/system/log/abnormalLog/index.vue @@ -1,42 +1,98 @@ - + let day = now.getDate(); + if (day < 10) { + day = "0" + day; + } + return year + "-" + month + "-" + day; + }, + }, +}; + diff --git a/src/views/system/log/systemLog/index.vue b/src/views/system/log/systemLog/index.vue index 1759d266..aebcd6ae 100644 --- a/src/views/system/log/systemLog/index.vue +++ b/src/views/system/log/systemLog/index.vue @@ -1,45 +1,96 @@