From a000ed60625ef647d66a186a05bf5bed0e4de127 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 20 三月 2023 14:20:28 +0800 Subject: [PATCH] 完善talk模式 --- web_src/src/components/dialog/pushStreamEdit.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web_src/src/components/dialog/pushStreamEdit.vue b/web_src/src/components/dialog/pushStreamEdit.vue index bad5077..2e632b5 100644 --- a/web_src/src/components/dialog/pushStreamEdit.vue +++ b/web_src/src/components/dialog/pushStreamEdit.vue @@ -109,10 +109,10 @@ if (this.edit) { this.$axios({ method:"post", - url:`/api/push/save_to_gb`, + url:`./api/push/save_to_gb`, data: this.proxyParam }).then( (res) => { - if (res.data == "success") { + if (res.data.code === 0) { this.$message({ showClose: true, message: "淇濆瓨鎴愬姛", @@ -129,7 +129,7 @@ }else { this.$axios({ method:"post", - url:`/api/push/add`, + url:`./api/push/add`, data: this.proxyParam }).then( (res) => { if (res.data.code === 0) { @@ -158,8 +158,8 @@ var result = false; var that = this; await that.$axios({ - method:"post", - url:`/api/platform/exit/${deviceGbId}` + method:"get", + url:`./api/platform/exit/${deviceGbId}` }).then(function (res) { result = res.data; }).catch(function (error) { -- Gitblit v1.8.0