Browse Source

Update fetch.js

花裤衩 7 years ago
parent
commit
115b2b0f7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/fetch.js

+ 1 - 1
src/utils/fetch.js

48
           });
48
           });
49
         })
49
         })
50
       }
50
       }
51
-      return Promise.reject(error);
51
+      return Promise.reject('error');
52
     } else {
52
     } else {
53
       return response.data;
53
       return response.data;
54
     }
54
     }