From a797cd1c4bf7ccc18098033ab5572377e84094fd Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期四, 02 十二月 2021 18:09:38 +0800
Subject: [PATCH] 优化zlm接入

---
 web_src/src/components/dialog/platformEdit.vue |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/web_src/src/components/dialog/platformEdit.vue b/web_src/src/components/dialog/platformEdit.vue
index 1ee777d..cc51652 100644
--- a/web_src/src/components/dialog/platformEdit.vue
+++ b/web_src/src/components/dialog/platformEdit.vue
@@ -97,7 +97,28 @@
   name: "platformEdit",
   props: {},
   computed: {},
-  created() {},
+  created() {
+    this.platform = {
+      id: null,
+      enable: true,
+      ptz: true,
+      rtcp: false,
+      name: null,
+      serverGBId: null,
+      serverGBDomain: null,
+      serverIP: null,
+      serverPort: null,
+      deviceGBId: null,
+      deviceIp: null,
+      devicePort: null,
+      username: null,
+      password: null,
+      expires: 300,
+      keepTimeout: 60,
+      transport: "UDP",
+      characterSet: "GB2312",
+    }
+  },
   data() {
     var deviceGBIdRules = async (rule, value, callback) => {
       console.log(value);

--
Gitblit v1.8.0