From 0898c63ca3de75669f88354b23eeb2798d1db471 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 16 十一月 2020 17:24:20 +0800 Subject: [PATCH] 修复停止点播后,再次调用停止无法识别 --- web_src/src/components/channelList.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue index b539e8c..b3872ee 100644 --- a/web_src/src/components/channelList.vue +++ b/web_src/src/components/channelList.vue @@ -234,6 +234,12 @@ }).then(function (res) { console.log(JSON.stringify(res)); that.initData(); + }).catch(function (error) { + if (error.response.status == 402) { // 宸茬粡鍋滄杩� + that.initData(); + }else { + console.log(e) + } }); }, -- Gitblit v1.8.0