From 51c19c397d86259cdf2d9483a6f39332f8be3724 Mon Sep 17 00:00:00 2001
From: yanggs <yanggs@goldencis.com>
Date: 星期四, 01 六月 2023 13:30:48 +0800
Subject: [PATCH] 修复 启用代理失败: ->缺少必要参数:"src_url","dst_url","timeout_ms"
---
web_src/src/components/dialog/platformEdit.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web_src/src/components/dialog/platformEdit.vue b/web_src/src/components/dialog/platformEdit.vue
index 0298ee7..be7c505 100644
--- a/web_src/src/components/dialog/platformEdit.vue
+++ b/web_src/src/components/dialog/platformEdit.vue
@@ -157,7 +157,7 @@
devicePort: null,
username: null,
password: null,
- expires: 300,
+ expires: 3600,
keepTimeout: 60,
transport: "UDP",
characterSet: "GB2312",
@@ -305,7 +305,7 @@
devicePort: null,
username: null,
password: null,
- expires: 300,
+ expires: 3600,
keepTimeout: 60,
transport: "UDP",
characterSet: "GB2312",
@@ -331,8 +331,8 @@
return result;
},
checkExpires: function() {
- if (this.platform.enable && this.platform.expires == "0") {
- this.platform.expires = "300";
+ if (this.platform.enable && this.platform.expires === "0") {
+ this.platform.expires = "3600";
}
},
rtcpCheckBoxChange: function (result){
--
Gitblit v1.8.0