Commit cfb9a06f authored by JingChao's avatar JingChao

Update hlsHttp.js

parent e1dc47fa
...@@ -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' || !response.data.success) { if (response.data.result === 'E' || response.data.code === 'E') {
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