0👍
✅
mounted: function() {
setInterval(() => {
this.now = Math.trunc(new Date().getTime() / 1000);
this.expired = this.modifiedDate <= this.now;
}, 1000);
}
Source:stackexchange.com