From df321f27af64d61c7553aa17c660824522f00a3f Mon Sep 17 00:00:00 2001 From: Lawrence <1934378145@qq.com> Date: Mon, 11 Jan 2021 20:54:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=90=91=E4=B8=8A=E7=BA=A7?= =?UTF-8?q?=E8=81=94=EF=BC=8C=E9=87=8D=E6=96=B0=E5=90=AF=E7=94=A8=E6=97=B6?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=87=8D=E8=AE=BEExpires=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/platformEdit.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web_src/src/components/platformEdit.vue b/web_src/src/components/platformEdit.vue index 76697d29..2eafb332 100644 --- a/web_src/src/components/platformEdit.vue +++ b/web_src/src/components/platformEdit.vue @@ -74,7 +74,7 @@ - + @@ -245,6 +245,11 @@ export default { }); return result; }, + checkExpires: function() { + if (this.platform.enable && this.platform.expires == "0") { + this.platform.expires = "300"; + } + } }, };