Commit b22641c2 by 展昭

tj

parent 92e764d7
Showing with 1 additions and 0 deletions
...@@ -22,6 +22,7 @@ http.interceptors.request.use( ...@@ -22,6 +22,7 @@ http.interceptors.request.use(
http.interceptors.response.use( http.interceptors.response.use(
(response) => { (response) => {
Toast.clear(); Toast.clear();
console.log('response=',response);
if(response.error==400||response.status==400){ if(response.error==400||response.status==400){
Toast.fail('授权失败!'); Toast.fail('授权失败!');
} }
......
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 sign in to comment