Commit 77d8cd77 authored by JingChao's avatar JingChao

login

parent 1ea020b0
...@@ -38,7 +38,7 @@ axios.interceptors.response.use(response => { ...@@ -38,7 +38,7 @@ axios.interceptors.response.use(response => {
} else if (response.code === '404') { } else if (response.code === '404') {
hlsPopup.showError('未找到资源文件') hlsPopup.showError('未找到资源文件')
return Promise.resolve('未找到资源文件') return Promise.resolve('未找到资源文件')
} else if (!response.data.success) { } else if (response.data.success && response.data.success === false) {
hlsPopup.showError(response.data.error.message) hlsPopup.showError(response.data.error.message)
return Promise.resolve(response.data.error.message) return Promise.resolve(response.data.error.message)
} else { } else {
......
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