This commit is contained in:
huanqing.shao
2019-09-20 08:50:12 +08:00
parent 7c2a1e8abd
commit 6c366ce73b
4 changed files with 35 additions and 25 deletions

View File

@ -58,7 +58,7 @@ export default {
localStorage.setItem('FIRST_ACCESS', new Date())
} else {
// console.log('differenceInMinutes', differenceInMinutes(new Date(), new Date(firstAccess)))
if (differenceInMinutes(new Date(), new Date(firstAccess)) >= 15 && !this.dialogVisible) {
if (differenceInMinutes(new Date(), new Date(firstAccess)) >= 20 && !this.dialogVisible) {
this.show()
}
}