⚡ Used short hand to fetch time
This commit is contained in:
parent
f548f410b9
commit
2e194361b3
1 changed files with 1 additions and 2 deletions
|
|
@ -85,8 +85,7 @@ const app = new Vue({
|
|||
document.getElementsByClassName(el)[0].classList.toggle('hidden')
|
||||
},
|
||||
sendRequest() {
|
||||
const d = new Date()
|
||||
const n = d.toLocaleTimeString()
|
||||
const n = new Date().toLocaleTimeString()
|
||||
this.history.push({
|
||||
time: n,
|
||||
method: this.method,
|
||||
|
|
|
|||
Loading…
Reference in a new issue