Commit dcf61318 authored by JingChao's avatar JingChao

Update hlsHttp.js

parent 0a9c374f
...@@ -28,7 +28,7 @@ axios.interceptors.response.use(response => { ...@@ -28,7 +28,7 @@ axios.interceptors.response.use(response => {
console.log(postName + ' response ' + JSON.stringify(response.data, '', 2)) console.log(postName + ' response ' + JSON.stringify(response.data, '', 2))
console.log(postName + ' End!') console.log(postName + ' End!')
} }
if (response.data.result === 'E' || response.data.code === 'E') { if (response.data.result === 'E' || response.data.code === 'E' || !response.data.success) {
hlsPopup.hideLoading() hlsPopup.hideLoading()
const err = {} const err = {}
err.message = response.data.message err.message = response.data.message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment