From 5241e136561fda1497c21009e516e00efdccdf4a Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期五, 28 十月 2022 17:47:47 +0800
Subject: [PATCH] 新增有效期限
---
src/views/login/index.vue | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 94867c3..0edadb1 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -126,6 +126,7 @@
t.dialogTip = false
},
toPay(){
+ t.dialogTip = false
this.dialogPay = true
},
isLogin(){
@@ -149,11 +150,8 @@
const data = res.result
if(data.deadline && data.deadline != null){
const deadline = data.deadline;
- console.log('判断时间')
const date = new Date(deadline);
- console.log(date.getTime(),Date.now(),'对比')
if(date.getTime() < Date.now()){
- console.log("过期")
_this.isOverTime = true
_this.dialogTip = true
return
--
Gitblit v1.9.2