Commit 9e753bb0 by LJM

css

parent 0ed0adce
Showing with 4 additions and 0 deletions
...@@ -44,6 +44,10 @@ const request = (url = '', type = 'GET', param = {}, Loading, headertype) => { ...@@ -44,6 +44,10 @@ const request = (url = '', type = 'GET', param = {}, Loading, headertype) => {
resolve(result); resolve(result);
} else { } else {
reject(response); reject(response);
uni.showToast({
title: '网络出现问题',
icon: 'error'
});
} }
}, },
fail: (error) => { fail: (error) => {
......
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