From 42d8fff57403500b880886e13093e1841bf47e54 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 03 十二月 2021 10:18:50 +0800 Subject: [PATCH] 兼容流注销时流产生类型错误的问题 --- 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