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"; + } + } }, };