From 2c3f6417a35d0a2d79f3b751b7a5a8edbb0bcc84 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: Tue, 21 Mar 2023 17:55:44 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0zlm?=
=?UTF-8?q?=E8=8A=82=E7=82=B9=E4=BD=BF=E7=94=A8=E9=BB=98=E8=AE=A4=E5=80=BC?=
=?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20#781?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web_src/src/components/dialog/MediaServerEdit.vue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/web_src/src/components/dialog/MediaServerEdit.vue b/web_src/src/components/dialog/MediaServerEdit.vue
index 9353a811..15923c1f 100644
--- a/web_src/src/components/dialog/MediaServerEdit.vue
+++ b/web_src/src/components/dialog/MediaServerEdit.vue
@@ -78,7 +78,7 @@
-
+
@@ -349,8 +349,10 @@ export default {
}
},
portRangeChange: function() {
- this.mediaServerForm.rtpPortRange = this.rtpPortRange1 + "," + this.rtpPortRange2
- console.log(this.mediaServerForm.rtpPortRange)
+ if (this.mediaServerForm.rtpEnable) {
+ this.mediaServerForm.rtpPortRange = this.rtpPortRange1 + "," + this.rtpPortRange2
+ console.log(this.mediaServerForm.rtpPortRange)
+ }
}
},
};