Compare commits
No commits in common. "d5a7e3d1c8cbc0e4a9bfac235d3bc72c865b3359" and "80487b8ae471f963381fc8674b733155d7bad275" have entirely different histories.
d5a7e3d1c8
...
80487b8ae4
|
@ -44,8 +44,7 @@ const install = (Vue, vm) => {
|
||||||
Vue.prototype.$u.http.interceptor.response = (res) => {
|
Vue.prototype.$u.http.interceptor.response = (res) => {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
if (res.succeed == true || res.success == true) {
|
if (res.succeed == true || res.success == true) {
|
||||||
// return res.data || res;
|
return res.data || res;
|
||||||
return res;
|
|
||||||
} else {
|
} else {
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: res.error,
|
// title: res.error,
|
||||||
|
|
Loading…
Reference in New Issue