修复停止点播后,再次调用停止无法识别

This commit is contained in:
648540858
2020-11-16 17:24:20 +08:00
parent 242a766794
commit 0898c63ca3
3 changed files with 10 additions and 4 deletions

View File

@@ -234,6 +234,12 @@ export default {
}).then(function (res) {
console.log(JSON.stringify(res));
that.initData();
}).catch(function (error) {
if (error.response.status == 402) { // 已经停止过
that.initData();
}else {
console.log(e)
}
});
},