From a8c424e49db9213e879bf6c44cebccdfddaa1808 Mon Sep 17 00:00:00 2001 From: BradyXu <brady_xu@outlook.com> Date: 星期日, 12 五月 2024 02:00:55 +0800 Subject: [PATCH] 修复sip绑定监听多网卡IP时,新增上级平台新增失败的问题,本地IP改成从配置的多IP下拉选择 --- web_src/src/components/dialog/onvifEdit.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/dialog/onvifEdit.vue b/web_src/src/components/dialog/onvifEdit.vue old mode 100644 new mode 100755 index c853294..f36ce4a --- a/web_src/src/components/dialog/onvifEdit.vue +++ b/web_src/src/components/dialog/onvifEdit.vue @@ -81,7 +81,7 @@ console.log(this.form); this.$axios({ method: 'get', - url:`api/onvif/rtsp`, + url:`/api/onvif/rtsp`, params: { hostname: this.form.hostName, timeout: 3000, @@ -90,7 +90,7 @@ } }).then((res) => { console.log(res.data) - if (res.data.code == 0) { + if (res.data.code === 0) { if (res.data.data != null) { this.listChangeCallback(res.data.data) }else { -- Gitblit v1.8.0