From 4a195a57c5403258f07e968d8ab8821679389e34 Mon Sep 17 00:00:00 2001 From: unknown <1162963624@qq.com> Date: Mon, 30 Nov 2020 11:01:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9D=9F=E7=9B=B4=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/common.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/js/common.js b/public/js/common.js index b885cd4..f2c5cd0 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -163,7 +163,14 @@ function setBtnClickFuc() { leave(); $('#room-root').hide(); $('#login-root').show(); - window.parent.location.href="/regime/live"; + $.ajax({ + url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid, + headers: "Bearer " + localStorage.getItem("token"), + success(){ + window.parent.location.href="/regime/live"; + } + }) + } else{ x="你按下了\"取消\"按钮!";